diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-05-11 07:34:24 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-05-11 07:34:24 -0400 |
| commit | 54ff5e9b020784226f1a40038a50cedd785085a1 (patch) | |
| tree | 1dda9785919bdfd1d093189df5a19688b508e498 /lib/zclient.c | |
| parent | 3dc755e492093c42d0983620da810893c413c533 (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
