aboutsummaryrefslogtreecommitdiff
path: root/src/tun/test_regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tun/test_regex.c')
-rw-r--r--src/tun/test_regex.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tun/test_regex.c b/src/tun/test_regex.c
index 3f0f898a9..21a2eed1e 100644
--- a/src/tun/test_regex.c
+++ b/src/tun/test_regex.c
@@ -153,7 +153,10 @@ main (int argc, char *argv[])
153 "4-(0050|0051)-C001...."); 153 "4-(0050|0051)-C001....");
154 error += 154 error +=
155 test_policy4toregex ("192.1.0.0/8:!3-65535;", 155 test_policy4toregex ("192.1.0.0/8:!3-65535;",
156 "4-(0001|0002)-C0......"); 156 "4-000(0|1|2)-C0......");
157 error +=
158 test_policy4toregex ("192.1.0.0/8:!25-56;",
159 "4-(0(0(0.|1(0|1|2|3|4|5|6|7|8)|3(9|A|B|C|D|E|F)|(4|5|6|7|8|9|A|B|C|D|E|F).)|(1|2|3|4|5|6|7|8|9|A|B|C|D|E|F)..)|(1|2|3|4|5|6|7|8|9|A|B|C|D|E|F)...)-C0......");
157 error += 160 error +=
158 test_policy6toregex ("E1E1::1;", 161 test_policy6toregex ("E1E1::1;",
159 "6-....-E1E10000000000000000000000000001"); 162 "6-....-E1E10000000000000000000000000001");