diff options
author | Mark Stapp <mjs@voltanet.io> | 2019-01-16 22:35:10 +0100 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2019-01-16 22:35:10 +0100 |
commit | c00ba1da70faddb062e75b2cd7c4546ab4fe5518 (patch) | |
tree | a681044e9e8e0436e877c811bb05fe08cc4c6673 /ldpd | |
parent | Merge pull request #3599 from donaldsharp/vtysh_sharp (diff) | |
download | frr-c00ba1da70faddb062e75b2cd7c4546ab4fe5518.tar.xz frr-c00ba1da70faddb062e75b2cd7c4546ab4fe5518.zip |
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>
Diffstat (limited to 'ldpd')
-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 78a07b1ed..b31db2c7b 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", |