[sr-dev] git:4.1: nathelper: added carrier grade nat address space (rfc6598)

Daniel-Constantin Mierla miconda at gmail.com
Thu Mar 6 14:53:33 CET 2014


Module: sip-router
Branch: 4.1
Commit: a1db16222f16c75f2ed10aa023853e28772ab35a
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a1db16222f16c75f2ed10aa023853e28772ab35a

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Thu Mar  6 14:48:13 2014 +0100

nathelper: added carrier grade nat address space (rfc6598)

(cherry picked from commit b992cfe8e88d069a0b3b0cfa31fe0d60a555cc4c)

---

 modules/nathelper/nathelper.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/nathelper/nathelper.c b/modules/nathelper/nathelper.c
index 8e9de7f..c34beee 100644
--- a/modules/nathelper/nathelper.c
+++ b/modules/nathelper/nathelper.c
@@ -328,6 +328,7 @@ static struct {
 	{"10.0.0.0",    0, 0xffffffffu << 24},
 	{"172.16.0.0",  0, 0xffffffffu << 20},
 	{"192.168.0.0", 0, 0xffffffffu << 16},
+	{"100.64.0.0",  0, 0xffffffffu << 22}, /* rfc6598 - cg-nat */
 	{NULL, 0, 0}
 };
 




More information about the sr-dev mailing list