]> git.puffer.fish Git - mirror/frr.git/commit
pimd: Make sure we have valid pointer when printing debugs
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 27 Oct 2016 22:27:28 +0000 (18:27 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:12 +0000 (20:26 -0500)
commitf4075cb472efca96d20df6b9f7a1f563831a33ae
tree3a6550b84c9508f262210c47ac3938299a0d8ac5
parent580d76126660144a0ccf05b0b5cb3736b49aecce
pimd: Make sure we have valid pointer when printing debugs

When we print a debug in the pim_upstream_add, there
exists failure cases for pim_upstream_new where
we cannot create a upstream data structure.  Make
sure the debug handles it right.

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