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