mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 04:01:59 +00:00
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:
parent
b707100701
commit
c00ba1da70
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user