diff options
Diffstat (limited to 'tests/py/inet')
-rw-r--r-- | tests/py/inet/tcp.t | 2 | ||||
-rw-r--r-- | tests/py/inet/udp.t | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/py/inet/tcp.t b/tests/py/inet/tcp.t index 5a0aab67..f25be599 100644 --- a/tests/py/inet/tcp.t +++ b/tests/py/inet/tcp.t @@ -6,6 +6,8 @@ *inet;test-inet;input *netdev;test-netdev;ingress +tcp dport set {1, 2, 3};fail + tcp dport 22;ok tcp dport != 233;ok tcp dport 33-45;ok diff --git a/tests/py/inet/udp.t b/tests/py/inet/udp.t index 2f16e6a1..4e3eaa51 100644 --- a/tests/py/inet/udp.t +++ b/tests/py/inet/udp.t @@ -15,6 +15,8 @@ udp sport != { 50, 60} accept;ok udp sport { 12-40};ok udp sport != { 13-24};ok +udp dport set {1, 2, 3};fail + udp dport 80 accept;ok udp dport != 60 accept;ok udp dport 70-75 accept;ok |