summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/ldpd.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-04-15 15:39:33 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-04-15 15:39:33 +0000
commit29f905afe10502bc39a5c810da14379fd3813002 (patch)
treed359dc4c8745ad171caa0fe734b06e88081d7809 /usr.sbin/ldpd/ldpd.h
parent86e4df4bc8ba55485f95f5bb82c99742306f6a67 (diff)
Cleanup the interface FSM by removing most of the ospfd specific states
that have nothing to do with LDP. OK michele@
Diffstat (limited to 'usr.sbin/ldpd/ldpd.h')
-rw-r--r--usr.sbin/ldpd/ldpd.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.sbin/ldpd/ldpd.h b/usr.sbin/ldpd/ldpd.h
index 8b7bf5ece01..354e6bc8a80 100644
--- a/usr.sbin/ldpd/ldpd.h
+++ b/usr.sbin/ldpd/ldpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldpd.h,v 1.12 2010/04/15 15:04:23 claudio Exp $ */
+/* $OpenBSD: ldpd.h,v 1.13 2010/04/15 15:39:32 claudio Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -115,11 +115,8 @@ enum imsg_type {
#define IF_STA_NEW 0x00 /* dummy state for reload */
#define IF_STA_DOWN 0x01
#define IF_STA_LOOPBACK 0x02
-#define IF_STA_POINTTOPOINT 0x04
-#define IF_STA_DROTHER 0x08
-#define IF_STA_MULTI (IF_STA_DROTHER | IF_STA_BACKUP | IF_STA_DR)
-#define IF_STA_ANY 0x7f
-#define IF_STA_ACTIVE (~IF_STA_DOWN)
+#define IF_STA_ACTIVE 0x04
+#define IF_STA_ANY 0x07
/* interface events */
enum iface_event {