]> git.puffer.fish Git - mirror/frr.git/commit
pimd: Fix crash with debug and ifp changes 1390/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 30 Oct 2017 23:41:28 +0000 (19:41 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 30 Oct 2017 23:59:18 +0000 (19:59 -0400)
commit97f03dde1e27d07065a8886f076b8b662a9093d6
treeebe38d0cd292ed1144383c217f829fd58aec8f87
parente4715aed63b9b791f35baa8abeb473870bb62213
pimd: Fix crash with debug and ifp changes

Certain interface flapping events can cause a lookup
that does not find any ifp pointer.  This is only causing
a crash in the `debug pim zebra` command due to only needing
to lookup the interface for it's name.

Modify code to ensure we have a valid pointer.  Follow other
debug statements lead in the same function for what to display
when an interface does not currently exist.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_zebra.c