summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-05-17 07:29:47 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-05-17 07:29:47 -0400
commitdb77a5018d961b807c83043621244970efd98495 (patch)
tree570eec2a4f576d5804bc2082660124f280113387 /lib/lib_errors.c
parentdb95656d48ecc46555fc9e8524849aa73a357dcb (diff)
bgpd: Routemap processing was testing for an impossible flag
The flag PEER_FLAG_RSERVER_CLIENT is never set on peer->flags and as such testing the flag for not being set will never cause the if statement to be not entered. Conversely setting update to 0 and then testing if (update && ... will always cause another if statement to be never called, remove it as well. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions