summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaul <paul>2003-07-11 17:42:09 +0000
committerpaul <paul>2003-07-11 17:42:09 +0000
commit53db0feeb80e2003c3ed94bc05d05d46645f3e95 (patch)
treef4be610d2e1dfe28aba3124783f4dcdb554b4ce9
parentafbacce1205b8ad2ee36adc4e255b22b54b3cd4f (diff)
2003-06-11 Paul Jakma <paul@dishone.st>
* zebra/if_ioctl.c: Fix missing declaration for if_fake_index. See bug id #24: http://bugzilla.dishone.st/show_bug.cgi?id=24 reported by Vsevolod Sipakov.
-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);