_tcp_set_src_addr()_/_udp_set_src_addr()_ function calls have been moved to the
_main()_ after _fix_all_socket_list()_ invocation. This place is where service
is being initiated and not yet entered into the main loop.
_udp_source_ipv6_/_tcp_source_ipv6_/_udp_source_ipv4_/_tcp_source_ipv4_ are
global variables and they are initiated on the service init step and then there
are no changes for this variables.
Regarding
> Is it compatible with the old behaviour when the global parameters
> tcp_source_ipv4/tcp_source_ipv6 were supposed to be global for all traffic?
Is there some old behavior, which can be enabled by some option? If yes, then
the compatibility with this mode should be kept, right?
I didn't find these variables (_tcp_source_ipv4_/_tcp_source_ipv6_) are
initialized somewhere in the source code, but they are used, so it looks like
its initialization is needed.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3490#issuecomment-1604103519
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3490/[email protected]>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to [email protected]