Module: kamailio
Branch: master
Commit: 804d6b85bdbe55b32edacdbd895b0ad763bf619f
URL:
https://github.com/kamailio/kamailio/commit/804d6b85bdbe55b32edacdbd895b0ad…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
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/804d6b85bdbe55b32edacdbd895b0ad…
Patch:
https://github.com/kamailio/kamailio/commit/804d6b85bdbe55b32edacdbd895b0ad…
---
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 */