summaryrefslogtreecommitdiffstats
path: root/ldpd/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldpd/socket.c')
-rw-r--r--ldpd/socket.c1
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",