Add a header to cleanup no declaration and properly
wrapper some variables to appropriate #ifdef.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
#include "zebra/interface.h"
#include "zebra/rib.h"
+#include "zebra/rt.h"
#include <ifaddrs.h>
struct zebra_if *zif;
struct zebra_l2info_vxlan *vxl;
struct interface *vlan_if;
+#ifdef GNU_LINUX
uint8_t flags;
+#endif
int ret = 0;
if (!(n->flags & ZEBRA_NEIGH_REMOTE))
*/
static int zl3vni_nh_install(zebra_l3vni_t *zl3vni, zebra_neigh_t *n)
{
+#ifdef GNU_LINUX
uint8_t flags;
+#endif
int ret = 0;
if (!is_l3vni_oper_up(zl3vni))