summaryrefslogtreecommitdiff
path: root/extensions/libct_proto_icmp.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-03-27 11:18:32 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-03-27 11:20:14 +0200
commit405c4f7dbfb16e69d75df5b631f195f5b9da29e4 (patch)
treeaf4133da11bf72930db04a70872c16ec3b617f08 /extensions/libct_proto_icmp.c
parent36da3b40b821452d2d4607928ce54ced707541df (diff)
downloadconntrack-tools-405c4f7dbfb16e69d75df5b631f195f5b9da29e4.tar.gz
conntrack-tools-405c4f7dbfb16e69d75df5b631f195f5b9da29e4.zip
icmp[v6]: --icmp[v6]-[type|code] are optional for updates and deletes
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libct_proto_icmp.c')
-rw-r--r--extensions/libct_proto_icmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libct_proto_icmp.c b/extensions/libct_proto_icmp.c
index 3a346ed..d04397f 100644
--- a/extensions/libct_proto_icmp.c
+++ b/extensions/libct_proto_icmp.c
@@ -43,8 +43,8 @@ static char icmp_commands_v_options[NUMBER_OF_CMD][ICMP_NUMBER_OF_OPT] =
/* 1 2 3 */
/*CT_LIST*/ {2,2,2},
/*CT_CREATE*/ {1,1,2},
-/*CT_UPDATE*/ {1,1,2},
-/*CT_DELETE*/ {1,1,2},
+/*CT_UPDATE*/ {2,2,2},
+/*CT_DELETE*/ {2,2,2},
/*CT_GET*/ {1,1,2},
/*CT_FLUSH*/ {0,0,0},
/*CT_EVENT*/ {2,2,2},