소스 검색

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

Andrei Pelinescu-Onciul 22 년 전
부모
커밋
45a03e3cf7
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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"