diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-02-08 19:58:50 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-02-08 19:58:50 +0100 |
commit | d214500c0e5f06587cd2436bf88c93b399df5122 (patch) | |
tree | 69b040bd52642fb9d5e7470508a6c4c720cd366a /extensions | |
parent | 9c3690c82cc394214b0026157cb9ab1885542ec9 (diff) | |
download | conntrack-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')
-rw-r--r-- | extensions/libct_proto_tcp.c | 2 |
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}, |