summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-11-18 15:40:59 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-11-18 15:40:59 +0000
commitb41a422c12292cde08a939984d2b93f589684cf0 (patch)
tree5393e6f568d5a13edf7baa9da71d30845aea5670 /usr.sbin/bgpd
parentba30f15002e0108146f43fee871a7c1a76e96f3e (diff)
Subsequent Address Family Indicators (SAFI) in hex and add SAFI_NONE
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/bgpd.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index d19a011bd8b..3c6516a4314 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.146 2004/11/11 10:35:15 claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.147 2004/11/18 15:40:58 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -554,9 +554,10 @@ struct rrefresh {
#define AFI_ALL 0xffff
/* Subsequent Address Family Identifier as per rfc2858 */
-#define SAFI_UNICAST 1
-#define SAFI_MULTICAST 2
-#define SAFI_BOTH 3
+#define SAFI_NONE 0x00
+#define SAFI_UNICAST 0x01
+#define SAFI_MULTICAST 0x02
+#define SAFI_BOTH 0x03
#define SAFI_ALL 0xff
/* prototypes */