From: Florian Westphal Date: Fri, 13 Apr 2018 09:40:50 +0000 (+0200) Subject: scanner: add helpers token X-Git-Tag: v0.8.4~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce2cc622cb110952323cd310046505653e406193;p=thirdparty%2Fnftables.git scanner: add helpers token without it, you get: nft list ct helpers table filter Error: syntax error, unexpected string, expecting helper or helpers Fixes: 14fd3ad720f6e ("src: prepare for future ct timeout policy support") Signed-off-by: Florian Westphal --- diff --git a/src/scanner.l b/src/scanner.l index ba60ec17..f3544ce5 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -507,6 +507,7 @@ addrstring ({macaddr}|{ip4addr}|{ip6addr}) "event" { return EVENT; } "expiration" { return EXPIRATION; } "helper" { return HELPER; } +"helpers" { return HELPERS; } "label" { return LABEL; } "state" { return STATE; } "status" { return STATUS; }