mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 01:40:16 +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 (-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return (0);
|
||||||
#else
|
#else
|
||||||
log_warnx(
|
log_warnx(
|
||||||
"%s: missing SO_BINDANY, IP_FREEBIND and IP_BINDANY, unable to bind to a nonlocal IP address",
|
"%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