summaryrefslogtreecommitdiff
path: root/lib/json.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-10-26 14:07:33 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-10-26 14:11:46 -0400
commitb3b78f6e62631e824424c10aae9d1a0792b110aa (patch)
tree5f3d0d96bfefd76475ed63eaf7b764e6062a7a93 /lib/json.h
parent6d774763d6698bf36b98e2ff26c1f27a492b8cb3 (diff)
bgpd: exit on socket bind failures
When we fail to bind to port 179 we are left in a situation where we have not saved the bgp pointer created and when the bgp cli mode is exited we leak the memory. Additionally there is no recovery situation here that could be easily programmed without fundamentally changing the code. So let's exit and output to the log file some useful information to hopefully clue the user in on what is going wrong. Fixes: #1130 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/json.h')
0 files changed, 0 insertions, 0 deletions