[sr-dev] [kamailio/kamailio] core: tcp - add alias for cinfo dst IP (PR #2888)

Federico Cabiddu notifications at github.com
Wed Oct 20 06:14:08 CEST 2021


Hi Henning, that's a good question. Currently the cinfo struct of the tcp connection is only filled by the proxy protocol parsing (oterwise is init to null) so the check when adding the alias gives the same results (we also chek that the dst IP there is different from the one stored in rcv, to not have duplicate aliases). I've chosen this approach in case that, for other reasons, in the future, we have cinfo != rcv in the connection struct.

-- 
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/2888#issuecomment-947313426
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211019/5306048f/attachment.htm>


More information about the sr-dev mailing list