summaryrefslogtreecommitdiff
path: root/pimd/pim_zebra.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2023-04-21 18:22:39 +0200
committerGitHub <noreply@github.com>2023-04-21 18:22:39 +0200
commit3c034cb34206e1d137c27b412bd9f7e079529eb0 (patch)
treec07199df0282e98e13649d6fbc264b0c098645b9 /pimd/pim_zebra.c
parent6cfef15385f5771269dd47447cd7a8962734533b (diff)
parent35801e6234fec8c62094e4c9cc8400b5942d013e (diff)
Merge pull request #13345 from donaldsharp/pim_after_dark
Diffstat (limited to 'pimd/pim_zebra.c')
-rw-r--r--pimd/pim_zebra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index 97b68c0a32..92dcbf9d1d 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -68,6 +68,8 @@ static int pim_zebra_interface_vrf_update(ZAPI_CALLBACK_ARGS)
vrf_id, new_vrf_id);
pim = pim_get_pim_instance(new_vrf_id);
+ if (!pim)
+ return 0;
if_update_to_new_vrf(ifp, new_vrf_id);