@miconda commented on this pull request.


> @@ -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 or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3490#pullrequestreview-1494965107
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/3490/review/1494965...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to