[sr-dev] git:master:9115d74b: lcr: source port check for from_any_gw() and from_gw().

Victor Seva linuxmaniac at torreviejawireless.org
Wed Aug 25 09:28:43 CEST 2021


Module: kamailio
Branch: master
Commit: 9115d74b33aefb0febad7c7fffe7d184e4066b77
URL: https://github.com/kamailio/kamailio/commit/9115d74b33aefb0febad7c7fffe7d184e4066b77

Author: Donat Zenichev <dzenichev at sipwise.com>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2021-08-25T09:28:38+02:00

lcr: source port check for from_any_gw() and from_gw().

A simple change, which allows to check, if a coming request matches
not only by an IP address and a transport protocol,
but also using the source port of a request.

Improvements are done for the following functions of the lcr module:
- from_any_gw()
- from_gw()

Back compatibility provided, hence it does not affect already existing behavior.

---

Modified: src/modules/lcr/doc/lcr_admin.xml
Modified: src/modules/lcr/lcr_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/9115d74b33aefb0febad7c7fffe7d184e4066b77.diff
Patch: https://github.com/kamailio/kamailio/commit/9115d74b33aefb0febad7c7fffe7d184e4066b77.patch




More information about the sr-dev mailing list