mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 15:30:02 +00:00
* connected.c: flag connected_up_ipv6() and connected_down_ipv6()
usage with HAVE_IPV6
This commit is contained in:
parent
fac1f7cc8e
commit
aa2e32be26
@ -1,3 +1,9 @@
|
||||
|
||||
2005-09-28 Alain Ritoux <alain.ritoux@6wind.com>
|
||||
|
||||
* connected.c: flag connected_up_ipv6() and connected_down_ipv6()
|
||||
usage with HAVE_IPV6
|
||||
|
||||
2005-09-24 Hasso Tepper <hasso at quagga.net>
|
||||
|
||||
* rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
|
||||
|
@ -51,8 +51,10 @@ connected_withdraw (struct connected *ifc)
|
||||
|
||||
if (ifc->address->family == AF_INET)
|
||||
connected_down_ipv4 (ifc->ifp, ifc);
|
||||
#ifdef HAVE_IPV6
|
||||
else
|
||||
connected_down_ipv6 (ifc->ifp, ifc);
|
||||
#endif
|
||||
|
||||
UNSET_FLAG (ifc->conf, ZEBRA_IFC_REAL);
|
||||
}
|
||||
@ -83,8 +85,10 @@ connected_announce (struct interface *ifp, struct connected *ifc)
|
||||
{
|
||||
if (ifc->address->family == AF_INET)
|
||||
connected_up_ipv4 (ifp, ifc);
|
||||
#ifdef HAVE_IPV6
|
||||
else
|
||||
connected_up_ipv6 (ifp, ifc);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user