summaryrefslogtreecommitdiff
path: root/proto/ospf/iface.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-01-24 09:45:50 +0100
committerMaria Matejka <mq@ucw.cz>2023-01-24 11:04:28 +0100
commit3ac628e0f0b7ffaa49c95688cc95954ece8f61fc (patch)
treeb0678bd2a685dab6eef729232d7ef50a0344abd1 /proto/ospf/iface.c
parent02b2a4ecaaf850ce04b0cd2e74c1ff6fede3f181 (diff)
parent5437104afad90f2a74ce52946f06da607d021e2b (diff)
Merge v2.0.12 into thread-next
Diffstat (limited to 'proto/ospf/iface.c')
-rw-r--r--proto/ospf/iface.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index 4cd45033..84c53aa1 100644
--- a/proto/ospf/iface.c
+++ b/proto/ospf/iface.c
@@ -1227,6 +1227,9 @@ ospf_reconfigure_ifaces2(struct ospf_proto *p)
WALK_LIST(iface, iface_list)
{
+ if (p->p.vrf && p->p.vrf != iface->master)
+ continue;
+
if (! (iface->flags & IF_UP))
continue;
@@ -1273,6 +1276,9 @@ ospf_reconfigure_ifaces3(struct ospf_proto *p)
WALK_LIST(iface, iface_list)
{
+ if (p->p.vrf && p->p.vrf != iface->master)
+ continue;
+
if (! (iface->flags & IF_UP))
continue;