summaryrefslogtreecommitdiffstats
path: root/tests/family-ipv6
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-07-24 15:14:22 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-07-24 15:23:44 +0200
commita320531e78f1bcb12b24da048f34592771392a9a (patch)
tree04e0e63205e6aea50035492dce7afa7347faa2ac /tests/family-ipv6
parentdf84fdeb32c7a76388dd456a835b5f29e0c9caa1 (diff)
datatype: fix crash if wrong integer type is passed
Eric Leblond reported that this command: nft add rule ip6 filter input position 4 meta protocol icmpv6 accept crashes nft. The problem is that 'icmpv6' is wrong there, as meta protocol is expecting an ethernet protocol, that can be expressed as an hexadecimal. Now this command displays the following error: <cmdline>:1:52-57: Error: This is not a valid Ethernet protocol add rule ip6 filter input position 4 meta protocol icmpv6 accept ^^^^^^ This closes bugzilla #834: https://bugzilla.netfilter.org/show_bug.cgi?id=834 Reported-by: Eric Leblond <eric@regit.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/family-ipv6')
0 files changed, 0 insertions, 0 deletions