Accept bracketed ipv6 addresses

This commit is contained in:
Justin Azoff 2020-08-05 17:18:36 -04:00
parent 8f4138262f
commit 211789bbb3
3 changed files with 16 additions and 6 deletions

View file

@ -20,7 +20,10 @@ testport 45
testporttcp 42/tcp
testportudp 42/udp
testaddr 127.0.0.1
testaddr 2607:f8b0:4005:801::200e
testaddr 2607:f8b0:4005:801::1
testaddr [2607:f8b0:4005:801::2]
testsub 2607:f8b0:4001:801::/48
testsub [2607:f8b0:4002:801::]/48
testinterval 60
testtime 1507321987
test_set a,b,c,d,erdbeerschnitzel
@ -41,6 +44,7 @@ export {
option testporttcp = 40/udp;
option testportudp = 40/tcp;
option testaddr = 127.0.0.1;
option testsub = 0.0.0.0/0;
option testtime = network_time();
option testinterval = 1sec;
option teststring = "a";