Skip to content

Commit 09ea7cf

Browse files
committed
conf: parser: iptables: capture all TCP flags to pkt_flag
The previous implementation would clobber and only remember one. This field name is now a misnomer, pkt_flags or individual ones for pkt_{cwr,ewe,urg...} might be better, but would break backwards compat more substantially. Signed-off-by: Hank Leininger <[email protected]>
1 parent 309a63b commit 09ea7cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conf/parsers_extra.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ parsers:
119119
WINDOW=(?<proto_window_size>\d+)\s
120120
RES=(?<pkt_res>\w+)?\s
121121
(?<pkt_type>\w+)\s
122-
( (?<pkt_flag>\w+)? \s )*
122+
(?<pkt_flag> (?:[A-Z]+\s)* )
123123
URGP=(?<pkg_urgency>\d)\s
124124
)?
125125
)?

0 commit comments

Comments
 (0)