]> git.ipfire.org Git - thirdparty/nftables.git/commit
scanner: Fix for wrong parameter type of scanner_destroy()
authorPhil Sutter <phil@nwl.cc>
Thu, 24 Aug 2017 17:14:11 +0000 (19:14 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 24 Aug 2017 17:20:29 +0000 (19:20 +0200)
commitc9c565ef45396206dc450e59f8b3225407c88a88
tree0354fb3f7c8b384f620ee58b28fc0b95dd1b0031
parent80ee176dccf6954c8cc6493283ddadba42b8f694
scanner: Fix for wrong parameter type of scanner_destroy()

The function takes the scanner as argument, not the state. This wasn't a
real issue since scanner is a void pointer, which means it's only casted
around without need. So this fix is a rather cosmetic one.

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