summaryrefslogtreecommitdiffstats
path: root/ripngd/ripngd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripngd/ripngd.c')
-rw-r--r--ripngd/ripngd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c
index 67a52e9f0..b083a07f8 100644
--- a/ripngd/ripngd.c
+++ b/ripngd/ripngd.c
@@ -2603,6 +2603,8 @@ void ripng_if_rmap_update_interface(struct interface *ifp)
struct if_rmap *if_rmap;
struct if_rmap_ctx *ctx;
+ if (ifp->vrf && ifp->vrf->vrf_id == VRF_UNKNOWN)
+ return;
if (!ripng)
return;
ctx = ripng->if_rmap_ctx;