summaryrefslogtreecommitdiff
path: root/zebra/if_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/if_ioctl.c')
-rw-r--r--zebra/if_ioctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/if_ioctl.c b/zebra/if_ioctl.c
index c9797996..ab36f681 100644
--- a/zebra/if_ioctl.c
+++ b/zebra/if_ioctl.c
@@ -137,6 +137,7 @@ if_get_index (struct interface *ifp)
/* Fall-back for older linuxes. */
int ret;
struct ifreq ifreq;
+ static int if_fake_index;
ifreq_set_name (&ifreq, ifp);