Module: kamailio
Branch: master
Commit: 804d6b85bdbe55b32edacdbd895b0ad763bf619f
URL: 
https://github.com/kamailio/kamailio/commit/804d6b85bdbe55b32edacdbd895b0ad763bf619f

Author: Henning Westerholt <[email protected]>
Committer: Henning Westerholt <[email protected]>
Date: 2018-03-23T21:49:17+01:00

nathelper: Support for 192.0.0.0/29 as NATed source (pull request GH#1488)

---

Modified: src/modules/nathelper/nathelper.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/804d6b85bdbe55b32edacdbd895b0ad763bf619f.diff
Patch: 
https://github.com/kamailio/kamailio/commit/804d6b85bdbe55b32edacdbd895b0ad763bf619f.patch

---

diff --git a/src/modules/nathelper/nathelper.c 
b/src/modules/nathelper/nathelper.c
index a45588a50d..935c981ee8 100644
--- a/src/modules/nathelper/nathelper.c
+++ b/src/modules/nathelper/nathelper.c
@@ -148,6 +148,7 @@ static struct {
        {"172.16.0.0",  0, 0xffffffffu << 20},
        {"192.168.0.0", 0, 0xffffffffu << 16},
        {"100.64.0.0",  0, 0xffffffffu << 22}, /* rfc6598 - cg-nat */
+       {"192.0.0.0",   0, 0xffffffffu <<  3}, /* rfc7335 - IPv4 Service 
Continuity Prefix */
        {NULL, 0, 0}
 };
 /* clang-format on */


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to