Browse code

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

Henning Westerholt authored on 23/03/2018 20:43:11
Showing 2 changed files
... ...
@@ -41,6 +41,7 @@ static ip4_node IPv4ranges[IPv4RANGES_SIZE] = {
41 41
         { 0xc0586300,  "6TO4-RELAY", 0xffffff00 },  // 192.88.99.0/24
42 42
         { 0xc0000200,  "TEST-NET",   0xffffff00 },  // 192.0.2/24
43 43
         { 0xc0000000,  "RESERVED",   0xffffff00 },  // 192.0.0/24
44
+        { 0xc0000000,  "6TO4-RELAY", 0xfffffff8 },  // 192.0.0.0/29
44 45
         { 0xc0a80000,  "PRIVATE",    0xffff0000 },  // 192.168/16
45 46
         { 0xa9fe0000,  "LINK-LOCAL", 0xffff0000 },  // 169.254/16
46 47
         { 0xc6120000,  "RESERVED",   0xfffe0000 },  // 198.18/15
... ...
@@ -25,7 +25,7 @@
25 25
 #ifndef _IPOPS_DETAILED_IP_TYPE_H
26 26
 #define _IPOPS_DETAILED_IP_TYPE_H
27 27
 
28
-#define IPv4RANGES_SIZE 16
28
+#define IPv4RANGES_SIZE 17
29 29
 #define IPv6RANGES_SIZE 29
30 30
 
31 31
 #include <stdint.h>