Browse Source

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.
paul 17 years ago
parent
commit
53db0feeb8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      zebra/if_ioctl.c

+ 1 - 0
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);