diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-01-21 14:59:48 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-01-21 14:59:48 +0100 |
commit | ccb54b5f240d3bb014938057c39b24699ff07bfa (patch) | |
tree | 37a88983d8e788b9d88283ad90a8469a95081ace | |
parent | 0cad5cba3e1f7b4295d0f98a1d9df3acdbb6f203 (diff) | |
download | conntrack-tools-ccb54b5f240d3bb014938057c39b24699ff07bfa.tar.gz conntrack-tools-ccb54b5f240d3bb014938057c39b24699ff07bfa.zip |
conntrack: fix use of -u which is optional with -I
The option --status can be used with -I. Currently, this behaviour
is broken.
conntrack v0.9.9 (conntrack-tools): Illegal option `--status' with this command
Try `conntrack -h' or 'conntrack --help' for more information.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | src/conntrack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conntrack.c b/src/conntrack.c index 6064fb7..c746ae8 100644 --- a/src/conntrack.c +++ b/src/conntrack.c @@ -126,7 +126,7 @@ static char commands_v_options[NUMBER_OF_CMD][NUMBER_OF_OPT] = { /* s d r q p t u z e [ ] { } a m i f n g o c b*/ /*CT_LIST*/ {2,2,2,2,2,0,2,2,0,0,0,0,0,0,2,0,2,2,2,2,2,0}, -/*CT_CREATE*/ {2,2,2,2,1,1,0,0,0,0,0,0,0,2,2,0,0,2,2,0,0,0}, +/*CT_CREATE*/ {2,2,2,2,1,1,2,0,0,0,0,0,0,2,2,0,0,2,2,0,0,0}, /*CT_UPDATE*/ {2,2,2,2,2,2,2,0,0,0,0,0,0,0,2,2,2,2,2,2,0,0}, /*CT_DELETE*/ {2,2,2,2,2,2,2,0,0,0,0,0,0,0,2,2,2,2,2,2,0,0}, /*CT_GET*/ {2,2,2,2,1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0}, |