*: use an ifindex_t type, defined in lib/if.h, for ifindex values
diff --git a/bgpd/bgp_network.c b/bgpd/bgp_network.c
index 7a22713..51a6f60 100644
--- a/bgpd/bgp_network.c
+++ b/bgpd/bgp_network.c
@@ -365,7 +365,7 @@
 int
 bgp_connect (struct peer *peer)
 {
-  unsigned int ifindex = 0;
+  ifindex_t ifindex = 0;
 
   /* Make socket for the peer. */
   peer->fd = sockunion_socket (&peer->su);