]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: remove useless control checks about TCP connection
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 5 Apr 2024 11:52:27 +0000 (13:52 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 15 Apr 2024 07:04:36 +0000 (09:04 +0200)
commitba7130309954fbe8d58854339ca43259149e603a
tree77dcd3e258b4409896b7a1acf1ee158128b537fe
parentcc04847730af4f4f606b8f036ae175a4a5d52d47
bgpd: remove useless control checks about TCP connection

When attempting to get the src and destination addresses of a given
connection, the API may return the NULL pointer, but further code
in bgp_zebra_nexthop_set() already does a check about the given
pointer.

Relaxing the error code for all the returned adressing.

Fixes: 1ff9a340588a ("bgpd: bgpd-fsm-fix.patch")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_network.c