]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_network.c
*: use an ifindex_t type, defined in lib/if.h, for ifindex values
[mirror_frr.git] / bgpd / bgp_network.c
index 0caada488b1554f92f5e1682d96bb8ac5ad05a04..ed1c5600ee69bb6460a73a957e507f13c8b3021a 100644 (file)
@@ -579,7 +579,7 @@ bgp_update_source (struct peer *peer)
 int
 bgp_connect (struct peer *peer)
 {
-  unsigned int ifindex = 0;
+  ifindex_t ifindex = 0;
 
   if (peer->conf_if && BGP_PEER_SU_UNSPEC(peer))
     {