summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/ospfe.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-02-09 20:47:05 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-02-09 20:47:05 +0000
commitab9c34b2d822431a93d8c982bfb93ddc59bebf99 (patch)
tree1fc20a1993d310f4cf02109bc7faedea653a65fd /usr.sbin/ospfd/ospfe.h
parent1b7d6854cac7f830fc136d57d3c64cd5f1b173d6 (diff)
NBR_STA_ACTIVE is just ~NBR_STA_DOWN instead of some hardcoded magic.
Diffstat (limited to 'usr.sbin/ospfd/ospfe.h')
-rw-r--r--usr.sbin/ospfd/ospfe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/ospfe.h b/usr.sbin/ospfd/ospfe.h
index 3a5a488a179..668ccdaa0e5 100644
--- a/usr.sbin/ospfd/ospfe.h
+++ b/usr.sbin/ospfd/ospfe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.h,v 1.4 2005/02/09 20:40:23 claudio Exp $ */
+/* $OpenBSD: ospfe.h,v 1.5 2005/02/09 20:47:04 claudio Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -39,7 +39,7 @@ TAILQ_HEAD(ctl_conns, ctl_conn) ctl_conns;
#define NBR_STA_XCHNG 0x0040
#define NBR_STA_LOAD 0x0080
#define NBR_STA_FULL 0x0100
-#define NBR_STA_ACTIVE 0xfffc
+#define NBR_STA_ACTIVE (~NBR_STA_DOWN)
#define NBR_STA_FLOOD (NBR_STA_XCHNG | NBR_STA_LOAD | NBR_STA_FULL)
#define NBR_STA_ADJFORM (NBR_STA_XSTRT | NBR_STA_SNAP | NBR_STA_FLOOD)
#define NBR_STA_BIDIR (NBR_STA_2_WAY | NBR_STA_ADJFORM)