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>
This commit is contained in:
Mark Stapp 2019-01-16 16:35:10 -05:00
parent b707100701
commit c00ba1da70

View File

@ -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",