summaryrefslogtreecommitdiff
path: root/extensions/libct_proto_tcp.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-02-08 19:58:50 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-02-08 19:58:50 +0100
commitd214500c0e5f06587cd2436bf88c93b399df5122 (patch)
tree69b040bd52642fb9d5e7470508a6c4c720cd366a /extensions/libct_proto_tcp.c
parent9c3690c82cc394214b0026157cb9ab1885542ec9 (diff)
downloadconntrack-tools-d214500c0e5f06587cd2436bf88c93b399df5122.tar.gz
conntrack-tools-d214500c0e5f06587cd2436bf88c93b399df5122.zip
conntrack: allow use of --state with -D
With this patch, you can use -p tcp --state to delete based on the protocol state. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libct_proto_tcp.c')
-rw-r--r--extensions/libct_proto_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libct_proto_tcp.c b/extensions/libct_proto_tcp.c
index d854c7f..a08f5b3 100644
--- a/extensions/libct_proto_tcp.c
+++ b/extensions/libct_proto_tcp.c
@@ -46,7 +46,7 @@ static char tcp_commands_v_options[NUMBER_OF_CMD][TCP_NUMBER_OF_OPT] =
/*CT_LIST*/ {2,2,2,2,0,0,2,0,0},
/*CT_CREATE*/ {2,2,2,2,0,0,1,0,0},
/*CT_UPDATE*/ {2,2,2,2,0,0,2,0,0},
-/*CT_DELETE*/ {2,2,2,2,0,0,0,0,0},
+/*CT_DELETE*/ {2,2,2,2,0,0,2,0,0},
/*CT_GET*/ {2,2,2,2,0,0,2,0,0},
/*CT_FLUSH*/ {0,0,0,0,0,0,0,0,0},
/*CT_EVENT*/ {2,2,2,2,0,0,2,0,0},