diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-03-02 19:45:05 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-03-02 19:45:05 +0000 |
commit | 97d3bc17a77f84f39949facde64b9ce764d17fa6 (patch) | |
tree | c4ecba8cd70e15fb00fffd58360f84f1e25a6747 /usr.sbin/bgpd/bgpd.h | |
parent | 5b258471b908015322203a6e9bbf7a85659e9044 (diff) |
flesh out the address and prefix parsing, include v6 code, but reject v6
upwards, claudio ok
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index 4220ae093ff..7f94cb412c3 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.103 2004/03/02 19:29:01 claudio Exp $ */ +/* $OpenBSD: bgpd.h,v 1.104 2004/03/02 19:45:04 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -454,7 +454,8 @@ const char *log_addr(const struct bgpd_addr *); int cmdline_symset(char *); /* config.c */ -int check_file_secrecy(int fd, const char *fname); +int check_file_secrecy(int, const char *); +int host(const char *, struct bgpd_addr *, u_int8_t *); /* imsg.c */ void imsg_init(struct imsgbuf *, int); |