mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Be more liberal with whitespaces for ip-addresses, subnets, etc.
This change ignores leading/trailing whitespaces for a couple of data-types (bool, port, subnet, addr) and just parses them as if the whitespace was not present.
This commit is contained in:
parent
aff3f4b3fd
commit
cb47b37215
3 changed files with 82 additions and 8 deletions
|
@ -0,0 +1,11 @@
|
|||
testbool, F
|
||||
testcount, 1
|
||||
testint, -1
|
||||
testportandproto, 45/udp
|
||||
testaddr, 127.0.0.3
|
||||
test_set, {
|
||||
127.0.0.2,
|
||||
127.0.0.1,
|
||||
127.0.0.3
|
||||
}
|
||||
test_vector, [10.0.0.1/32, 10.0.0.0/16, 10.0.0.0/8]
|
Loading…
Add table
Add a link
Reference in a new issue