summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2009-08-07 10:48:12 +0000
committerDavid Lamparter <equinox@diac24.net>2010-02-04 01:55:32 +0100
commitfd884852db05e35da9eac6ff67fbaa0736d821c6 (patch)
tree7290397cc4d8a948a8224c2af729a6b4dd3a332e /lib
parentdca6c883ea6219460efbe3dadde4b8b9cb12c845 (diff)
downloadquagga-fd884852db05e35da9eac6ff67fbaa0736d821c6.tar.bz2
quagga-fd884852db05e35da9eac6ff67fbaa0736d821c6.tar.xz
zebra, lib: Add ZEBRA_INTERFACE_UNNUMBERED interface flag.
Use interface <ifname> "unnumbered" command to set unnumbered mode. "no unnumbered" will clear it. Changed to use *_FLAG macros by David Lamparter. Cc: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/if.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/if.h b/lib/if.h
index c99ab81b..8fa30840 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -90,6 +90,7 @@ struct interface
#define ZEBRA_INTERFACE_ACTIVE (1 << 0)
#define ZEBRA_INTERFACE_SUB (1 << 1)
#define ZEBRA_INTERFACE_LINKDETECTION (1 << 2)
+#define ZEBRA_INTERFACE_UNNUMBERED (1 << 3)
/* Interface flags. */
uint64_t flags;