]> git.ipfire.org Git - thirdparty/nftables.git/commit
scanner: Extend asteriskstring definition
authorPhil Sutter <phil@nwl.cc>
Thu, 6 Feb 2020 11:31:56 +0000 (12:31 +0100)
committerPhil Sutter <phil@nwl.cc>
Mon, 10 Feb 2020 11:33:51 +0000 (12:33 +0100)
commit556c5a94b8067f33ef0a42836753dae0736b7524
treea3b6dd9860a45bfee5563145423885f535e21f5d
parent03d45ad330a25323610648bb05f550e0fb9d65b2
scanner: Extend asteriskstring definition

Accept escaped asterisks also mid-string and as only character.
Especially the latter will help when translating from iptables where
asterisk has no special meaning.

Signed-off-by: Phil Sutter <phil@nwl.cc>
src/scanner.l