From be9bd9cc7288477e54bef0225321ffa72b409116 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 27 Jul 2021 17:23:27 +0200 Subject: expression: missing != in flagcmp expression print function Missing != when printing the expression. Fixes: c3d57114f119 ("parser_bison: add shortcut syntax for matching flags without binary operations") Signed-off-by: Pablo Neira Ayuso --- tests/py/inet/tcp.t | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/py/inet/tcp.t') diff --git a/tests/py/inet/tcp.t b/tests/py/inet/tcp.t index 532da277..16e15b9f 100644 --- a/tests/py/inet/tcp.t +++ b/tests/py/inet/tcp.t @@ -68,6 +68,7 @@ tcp flags cwr;ok tcp flags != cwr;ok tcp flags == syn;ok tcp flags fin,syn / fin,syn;ok +tcp flags != syn / fin,syn;ok tcp flags & (fin | syn | rst | psh | ack | urg | ecn | cwr) == fin | syn | rst | psh | ack | urg | ecn | cwr;ok;tcp flags == 0xff tcp flags { syn, syn | ack };ok tcp flags & (fin | syn | rst | psh | ack | urg) == { fin, ack, psh | ack, fin | psh | ack };ok -- cgit v1.2.3