]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Remove impossible invalid state
authorDonald Sharp <sharpd@nvidia.com>
Tue, 15 Feb 2022 20:54:53 +0000 (15:54 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 15 Feb 2022 21:38:32 +0000 (16:38 -0500)
commit8b4a0b6631c9484a8925a7279b7a111c3e340de1
treea38252b53584295cea81481d81aba53c8a7869ab
parentc07cfc54940c2dce071f5173f0b719592419b2d2
bgpd: Remove impossible invalid state

confederations are checking to see that the bgp pointer
is non-null.  But it's impossible to have a null pointer
in the cli and in all paths we have already deref'ed the bgp
pointer.  Let's remove that error code as that it is impossible
to happen.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgpd.c
bgpd/bgpd.h