summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/zclient.h4
-rw-r--r--lib/zebra.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index adb48b252a..8fe711f310 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -58,6 +58,10 @@
#define ZEBRA_IPTABLES_FORWARD 0
#define ZEBRA_IPTABLES_DROP 1
+/* Zebra FEC register command flags. */
+#define ZEBRA_FEC_REGISTER_LABEL 0x1
+#define ZEBRA_FEC_REGISTER_LABEL_INDEX 0x2
+
extern struct sockaddr_storage zclient_addr;
extern socklen_t zclient_addr_len;
diff --git a/lib/zebra.h b/lib/zebra.h
index 0f3f45f7ba..09115951e9 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -452,9 +452,6 @@ extern const char *zserv_command_string(unsigned int command);
*/
#define ZEBRA_FLAG_ONLINK 0x80
-/* Zebra FEC flags. */
-#define ZEBRA_FEC_REGISTER_LABEL_INDEX 0x1
-
#ifndef INADDR_LOOPBACK
#define INADDR_LOOPBACK 0x7f000001 /* Internet address 127.0.0.1. */
#endif