diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-02 21:52:09 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-02 21:52:09 +0200 |
commit | 05ba625af7cbeb08322a1ea761732521816245bd (patch) | |
tree | b5501ff31d67ec53a0da4935f59a17478b637255 /pimd/pim_neighbor.c | |
parent | Merge remote-tracking branch 'origin/stable/2.0' (diff) | |
parent | update doc of ubuntu 12.04 (diff) | |
download | frr-05ba625af7cbeb08322a1ea761732521816245bd.tar.xz frr-05ba625af7cbeb08322a1ea761732521816245bd.zip |
Merge remote-tracking branch 'origin/stable/3.0'
Diffstat (limited to 'pimd/pim_neighbor.c')
-rw-r--r-- | pimd/pim_neighbor.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pimd/pim_neighbor.c b/pimd/pim_neighbor.c index c04a62548..de0f75e38 100644 --- a/pimd/pim_neighbor.c +++ b/pimd/pim_neighbor.c @@ -455,6 +455,9 @@ struct pim_neighbor *pim_neighbor_find(struct interface *ifp, struct listnode *node; struct pim_neighbor *neigh; + if (!ifp) + return NULL; + pim_ifp = ifp->info; if (!pim_ifp) return NULL; |