forked from Mirror/frr
pimd: use correct VRF when processing interface address add
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
de093103cb
commit
4bb0e8f0c0
|
@ -164,7 +164,7 @@ static int pim_zebra_if_address_add(ZAPI_CALLBACK_ARGS)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (if_is_loopback(c->ifp)) {
|
if (if_is_loopback(c->ifp)) {
|
||||||
struct vrf *vrf = vrf_lookup_by_id(VRF_DEFAULT);
|
struct vrf *vrf = vrf_lookup_by_id(vrf_id);
|
||||||
struct interface *ifp;
|
struct interface *ifp;
|
||||||
|
|
||||||
FOR_ALL_INTERFACES (vrf, ifp) {
|
FOR_ALL_INTERFACES (vrf, ifp) {
|
||||||
|
|
Loading…
Reference in a new issue