diff options
| author | Mark Stapp <mjs@voltanet.io> | 2019-01-16 16:35:10 -0500 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2019-01-16 16:35:10 -0500 |
| commit | c00ba1da70faddb062e75b2cd7c4546ab4fe5518 (patch) | |
| tree | a681044e9e8e0436e877c811bb05fe08cc4c6673 | |
| parent | b707100701304347b4fe13eb89efa9d10f81048a (diff) | |
ldpd: fix missing return value in bindany
One of the socket utilities was missing a return value in
one of its ifdef'd paths.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
| -rw-r--r-- | ldpd/socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ldpd/socket.c b/ldpd/socket.c index 78a07b1ed4..b31db2c7bc 100644 --- a/ldpd/socket.c +++ b/ldpd/socket.c @@ -276,6 +276,7 @@ sock_set_bindany(int fd, int enable) return (-1); } } + return (0); #else log_warnx( "%s: missing SO_BINDANY, IP_FREEBIND and IP_BINDANY, unable to bind to a nonlocal IP address", |
