Forráskód Böngészése

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

Andrei Pelinescu-Onciul 22 éve
szülő
commit
45a03e3cf7
1 módosított fájl, 2 hozzáadás és 0 törlés
  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"