version 1.1, 2017/08/22 12:33:54
|
version 1.1.1.2, 2021/03/17 19:50:23
|
Line 504 rip_update_bfd(struct rip_proto *p, struct rip_neighbo
|
Line 504 rip_update_bfd(struct rip_proto *p, struct rip_neighbo
|
*/ |
*/ |
ip_addr saddr = rip_is_v2(p) ? n->ifa->sk->saddr : n->nbr->ifa->ip; |
ip_addr saddr = rip_is_v2(p) ? n->ifa->sk->saddr : n->nbr->ifa->ip; |
n->bfd_req = bfd_request_session(p->p.pool, n->nbr->addr, saddr, |
n->bfd_req = bfd_request_session(p->p.pool, n->nbr->addr, saddr, |
n->nbr->iface, rip_bfd_notify, n); | n->nbr->iface, p->p.vrf, |
| rip_bfd_notify, n); |
} |
} |
|
|
if (!use_bfd && n->bfd_req) |
if (!use_bfd && n->bfd_req) |
Line 763 rip_if_notify(struct proto *P, unsigned flags, struct
|
Line 764 rip_if_notify(struct proto *P, unsigned flags, struct
|
if (flags & IF_CHANGE_UP) |
if (flags & IF_CHANGE_UP) |
{ |
{ |
struct rip_iface_config *ic = (void *) iface_patt_find(&cf->patt_list, iface, NULL); |
struct rip_iface_config *ic = (void *) iface_patt_find(&cf->patt_list, iface, NULL); |
|
|
|
/* For RIPng, ignore ifaces without link-local address */ |
|
if (rip_is_ng(p) && !ifa_llv6(iface)) |
|
return; |
|
|
if (ic) |
if (ic) |
rip_add_iface(p, iface, ic); |
rip_add_iface(p, iface, ic); |