[nft] scanner: add helpers token

Message ID 20180413094050.6288-1-fw@strlen.de
State Accepted
Delegated to: Pablo Neira
Headers show
Series
  • [nft] scanner: add helpers token
Related show

Commit Message

Florian Westphal April 13, 2018, 9:40 a.m.
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 <fw@strlen.de>
---
 src/scanner.l | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/src/scanner.l b/src/scanner.l
index d908a8f..3f532bc 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; }