summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2013-09-04 12:50:20 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2013-09-05 11:01:40 +0200
commitf314b4500848d90836cb3d936333bba5a0357ed7 (patch)
tree287dae4aa539e31800dfa56630372a5e3a440e54 /tests
parent78c4b630124ee09dff17026b3e2cd5820942093b (diff)
src: Better error reporting if chain type is invalid
This patch verifies at command line parsing that given chain type is valid. Possibilities are: filter, nat, and route. nft add chain test test { type cheese hook input priority 0 }; <cmdline>:1:28-33: Error: unknown chain type cheese add chain test test { type cheese hook input priority 0 }; ^^^^^^ Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions