]> git.ipfire.org Git - thirdparty/nftables.git/commit
datatype: fix name of icmp* code
authorEric Leblond <eric@regit.org>
Tue, 2 Dec 2014 23:02:51 +0000 (00:02 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 3 Dec 2014 11:46:46 +0000 (12:46 +0100)
commit77272b500f294ab726e265ec972a35d8a542fe69
tree8c6243305e54d12b6c075f31db56e5a6fc40b3c8
parent178bf85812ba426aba887157e0dbc5ab26b61561
datatype: fix name of icmp* code

The name of datatypes can be used in set definition so they should
follow the same logic (and maybe not contain space to avoid problem
with parsing).

This patch adds an underscore to the name of the icmp* code
datatype.

Signed-off-by: Eric Leblond <eric@regit.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/datatype.c