]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Fix crash in vnc_import_bgp_add_route
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 2 Oct 2016 22:33:32 +0000 (18:33 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 2 Oct 2016 22:33:32 +0000 (18:33 -0400)
commitb705df1286a63bd444a8f7332c66110b2045331a
tree23d68a4ebf680446ad4c6bf9e27d873e10157247
parent2de1475ffedc2303fb0f3ff00803bab3d327f1cd
bgpd: Fix crash in vnc_import_bgp_add_route

The ordering to check for NULL pointer was
reversed in this function.

I switched the order after examing a couple other
functions to see that they have the 'correct' order.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/rfapi/vnc_import_bgp.c