Explorar o código

- sendipv[46] was not set in no fork mode (found by Jan)

Andrei Pelinescu-Onciul %!s(int64=22) %!d(string=hai) anos
pai
achega
45a03e3cf7
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      main.c

+ 2 - 0
main.c

@@ -614,6 +614,8 @@ int main_loop()
 		/* only one address, we ignore all the others */
 		if (udp_init(&sock_info[0])==-1) goto error;
 		bind_address=&sock_info[0];
+		sendipv4=bind_address;
+		sendipv6=bind_address; /*FIXME*/
 		bind_idx=0;
 		if (sock_no>1){
 			LOG(L_WARN, "WARNING: using only the first listen address"