Commit c021d8cf authored by Daniel Salzman's avatar Daniel Salzman
Browse files

server: make warning about nonlocal bind more clear

parent 8b312d86
Pipeline #1935 passed with stages
in 8 minutes and 55 seconds
......@@ -182,7 +182,7 @@ static int server_init_iface(iface_t *new_if, struct sockaddr_storage *addr, int
udp_bind_flags |= NET_BIND_NONLOCAL;
sock = net_bound_socket(SOCK_DGRAM, (struct sockaddr *)addr, udp_bind_flags);
if (sock >= 0 && !warn_bind) {
log_warning("address '%s' is not available", addr_str);
log_warning("address '%s' bound, but required nonlocal bind", addr_str);
warn_bind = true;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment