From 97d3bc17a77f84f39949facde64b9ce764d17fa6 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Tue, 2 Mar 2004 19:45:05 +0000 Subject: flesh out the address and prefix parsing, include v6 code, but reject v6 upwards, claudio ok --- usr.sbin/bgpd/bgpd.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.sbin/bgpd/bgpd.h') 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 @@ -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); -- cgit v1.2.3