From 4a15265f6d5eefabf7b40921fc4ba96b44481ebc Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Fri, 9 Jan 2004 14:10:07 +0000 Subject: flag kernel routes whch are not conencted routes as static routes. that's what they are, and it makes matching on them easier. --- usr.sbin/bgpd/bgpd.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'usr.sbin/bgpd/bgpd.h') diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index dcbbb74d2da..c3b7b9a8c7b 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.59 2004/01/09 13:47:07 henning Exp $ */ +/* $OpenBSD: bgpd.h,v 1.60 2004/01/09 14:10:06 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -48,11 +48,12 @@ #define SOCKET_NAME "/var/run/bgpd.sock" -#define F_BGPD_INSERTED 0x0001 -#define F_KERNEL 0x0002 -#define F_CONNECTED 0x0004 -#define F_NEXTHOP 0x0008 -#define F_DOWN 0x0010 +#define F_BGPD_INSERTED 0x01 +#define F_KERNEL 0x02 +#define F_CONNECTED 0x04 +#define F_NEXTHOP 0x08 +#define F_DOWN 0x10 +#define F_STATIC 0x20 enum { PROC_MAIN, -- cgit v1.2.3