version 1.1.1.1, 2012/02/21 17:26:11
|
version 1.1.1.2, 2012/10/09 09:22:29
|
Line 189 connected_up_ipv4 (struct interface *ifp, struct conne
|
Line 189 connected_up_ipv4 (struct interface *ifp, struct conne
|
return; |
return; |
|
|
rib_add_ipv4 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, NULL, ifp->ifindex, |
rib_add_ipv4 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, NULL, ifp->ifindex, |
RT_TABLE_MAIN, ifp->metric, 0); | RT_TABLE_MAIN, ifp->metric, 0, SAFI_UNICAST); |
|
|
rib_update (); |
rib_update (); |
} |
} |
Line 295 connected_down_ipv4 (struct interface *ifp, struct con
|
Line 295 connected_down_ipv4 (struct interface *ifp, struct con
|
return; |
return; |
|
|
/* Same logic as for connected_up_ipv4(): push the changes into the head. */ |
/* Same logic as for connected_up_ipv4(): push the changes into the head. */ |
rib_delete_ipv4 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, 0); | rib_delete_ipv4 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, 0, SAFI_UNICAST); |
|
|
rib_update (); |
rib_update (); |
} |
} |
Line 343 connected_up_ipv6 (struct interface *ifp, struct conne
|
Line 343 connected_up_ipv6 (struct interface *ifp, struct conne
|
#endif |
#endif |
|
|
rib_add_ipv6 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, RT_TABLE_MAIN, |
rib_add_ipv6 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, RT_TABLE_MAIN, |
ifp->metric, 0); | ifp->metric, 0, SAFI_UNICAST); |
|
|
rib_update (); |
rib_update (); |
} |
} |
Line 417 connected_down_ipv6 (struct interface *ifp, struct con
|
Line 417 connected_down_ipv6 (struct interface *ifp, struct con
|
if (IN6_IS_ADDR_UNSPECIFIED (&p.prefix)) |
if (IN6_IS_ADDR_UNSPECIFIED (&p.prefix)) |
return; |
return; |
|
|
rib_delete_ipv6 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, 0); | rib_delete_ipv6 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, 0, SAFI_UNICAST); |
|
|
rib_update (); |
rib_update (); |
} |
} |