summaryrefslogtreecommitdiffstats
path: root/pimd/pim_mroute.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-06-02 23:17:44 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-24 19:51:38 +0200
commit1ef8c24eb9307ab385bc5599f5f6f38e8dd0bda0 (patch)
tree63813976c18d94fe2d8f5b8542569fbbdd9edd7c /pimd/pim_mroute.c
parentpimd: Fix dropped(?) telling of the kernel to recv cmsg data (diff)
downloadfrr-1ef8c24eb9307ab385bc5599f5f6f38e8dd0bda0.tar.xz
frr-1ef8c24eb9307ab385bc5599f5f6f38e8dd0bda0.zip
pimd: We may receive a igmp packet in on unconfiged intf
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_mroute.c')
-rw-r--r--pimd/pim_mroute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c
index 3d71da440..fa53e568f 100644
--- a/pimd/pim_mroute.c
+++ b/pimd/pim_mroute.c
@@ -568,7 +568,7 @@ static int pim_mroute_msg(struct pim_instance *pim, const char *buf,
*/
ifp = if_lookup_by_index(ifindex, pim->vrf_id);
- if (!ifp)
+ if (!ifp || !ifp->info)
return 0;
pim_ifp = ifp->info;