[sr-dev] [kamailio/kamailio] core: fix some logging in tcp_read.c (#749)

Dragos Oancea notifications at github.com
Wed Aug 17 11:25:59 CEST 2016


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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/749
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160817/8ba4986b/attachment.html>


More information about the sr-dev mailing list