summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-05-11 07:34:24 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-05-11 07:34:24 -0400
commit54ff5e9b020784226f1a40038a50cedd785085a1 (patch)
tree1dda9785919bdfd1d093189df5a19688b508e498 /lib/zclient.c
parent3dc755e492093c42d0983620da810893c413c533 (diff)
bgpd: Cleanup messages from getsockopt
The handling of the return codes for getsockopt was slightly wrong. getsockopt returns -1 on error and errno is set. What to do with the return code at that point is dependent on what sockopt you are asking about. In this case status holds the error returned for SO_ERROR. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/zclient.c')
0 files changed, 0 insertions, 0 deletions