@miconda commented on this pull request.


In src/main.c:

> @@ -2864,6 +2864,16 @@ int main(int argc, char** argv)
 		fprintf(stderr,  "failed to initialize list addresses\n");
 		goto error;
 	}
+	for(struct socket_info* si=udp_listen; si; si=si->next){
+		udp_set_src_addr(&si->address);
+	}

This loop results is setting the global variables to the last IPv4 or IPv6 listen addresses in the list, right?

Same happens with the loop for tcp below.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3490/review/1494965107@github.com>