This patch to emphasize that ip_addr2a() uses a static buffer and because of this lots of log lines in tcp_read.c print the same IP as src and dst . It can be confusing when debugging TCP connections. Practically LM_DBG or LOG print the same buffer twice in these cases. You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/749
-- Commit Summary --
* core: fix some logging in tcp_read.c
-- File Changes --
M tcp_read.c (12)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/749.patch https://github.com/kamailio/kamailio/pull/749.diff