[SR-Users] A bit trick in msg_translator.c source file

Henning Westerholt hw at kamailio.org
Sat Dec 29 18:02:12 CET 2018


Am Samstag, 29. Dezember 2018, 10:43:54 CET schrieb Mojtaba:
> Hello ,
> Does anybody know why the lenght of both ip-address (s and name) in
> check_via_address function in msg_translator.c source file dose not
> check first?
> Actually i think it's better do.
> For example if via:192.168.122.1 and src:192.168.122.100, the result
> returned true, as they are not the same!
> With.Regards. Mojtaba

Hello Mojtaba,

can you give more details, which line in e.g. git master are you referring to?

Best regards,

Henning

-- 
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
Kamailio security assessment - https://skalatan.de/de/assessment



More information about the sr-users mailing list