]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: return value (Coverity 1399203)
authorpaco <paco@voltanet.io>
Thu, 28 Jun 2018 10:41:52 +0000 (12:41 +0200)
committerpaco <paco@voltanet.io>
Thu, 28 Jun 2018 10:41:52 +0000 (12:41 +0200)
commitda3b87f8b0dc12bac2834471e7fa669220447443
tree6f137ae928777850220477153cd6d3d15b7bc9ff
parent71a7b1f82f96c85d85b6984c76e3e50c531adae3
bgpd: return value (Coverity 1399203)

The return value can be ignored because in case of error both the 'afi'
and 'safi' variables are set to the invalid values (AFI_MAX, SAFI_MAX),
and the invalid values are handled properly afterwards in the 'default'
blocks.

Signed-off-by: F. Aragon <paco@voltanet.io>
bgpd/bgp_open.c