summaryrefslogtreecommitdiff
path: root/extensions
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
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')
-rw-r--r--extensions/libct_proto_icmp.c4
-rw-r--r--extensions/libct_proto_icmpv6.c4
2 files changed, 4 insertions, 4 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},
diff --git a/extensions/libct_proto_icmpv6.c b/extensions/libct_proto_icmpv6.c
index 070eb7f..f8c2c68 100644
--- a/extensions/libct_proto_icmpv6.c
+++ b/extensions/libct_proto_icmpv6.c
@@ -46,8 +46,8 @@ static char icmpv6_commands_v_options[NUMBER_OF_CMD][ICMPV6_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},