]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: Fix some defines for older platforms
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 26 May 2017 15:59:05 +0000 (11:59 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 12 Jul 2017 19:07:54 +0000 (15:07 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/rt_netlink.c

index d676fc82964e675e31777aaa16027e6bc598072b..db9cc3e1849d965fa6c869bbe7364040300c77f8 100644 (file)
 #define NDA_MASTER   9
 #endif
 
+#ifndef NTF_MASTER
+#define NTF_MASTER   0x04
+#endif
+
 #ifndef NTF_SELF
 #define NTF_SELF     0x02
 #endif
 #define NTF_EXT_LEARNED 0x10
 #endif
 
+#ifndef NDA_IFINDEX
+#define NDA_IFINDEX  8
+#endif
+
 #ifndef NDA_VLAN
 #define NDA_VLAN     5
 #endif