diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-05-22 14:32:05 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-05-22 14:32:05 +0200 |
commit | 5f19f9a20d4bde74e2f95a670d766fc98c7d8684 (patch) | |
tree | f50dd82e1c7afe8cb63aede1ee50e8d044d49cbc /src/conntrack.c | |
parent | 599e63ea72995ff36d445cd5bd9849ecdd4590ae (diff) | |
download | conntrack-tools-5f19f9a20d4bde74e2f95a670d766fc98c7d8684.tar.gz conntrack-tools-5f19f9a20d4bde74e2f95a670d766fc98c7d8684.zip |
only allow the use of --secmark for listing (filtering)
add missing string.h required by strdup in config parsing
Diffstat (limited to 'src/conntrack.c')
-rw-r--r-- | src/conntrack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conntrack.c b/src/conntrack.c index 8ce1dae..25a3a57 100644 --- a/src/conntrack.c +++ b/src/conntrack.c @@ -122,9 +122,9 @@ 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 */ /*CT_LIST*/ {2,2,2,2,2,0,2,2,0,0,0,0,0,0,2,0,2,2,2,2,2}, -/*CT_CREATE*/ {2,2,2,2,1,1,1,0,0,0,0,0,0,2,2,0,0,2,2,0,2}, -/*CT_UPDATE*/ {2,2,2,2,2,2,2,0,0,0,0,0,0,0,2,2,2,2,2,2,2}, -/*CT_DELETE*/ {2,2,2,2,2,2,2,0,0,0,0,0,0,0,2,2,2,2,2,2,2}, +/*CT_CREATE*/ {2,2,2,2,1,1,1,0,0,0,0,0,0,2,2,0,0,2,2,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}, +/*CT_DELETE*/ {2,2,2,2,2,2,2,0,0,0,0,0,0,0,2,2,2,2,2,2,0}, /*CT_GET*/ {2,2,2,2,1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0}, /*CT_FLUSH*/ {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, /*CT_EVENT*/ {2,2,2,2,2,0,0,0,2,0,0,0,0,0,2,0,0,2,2,2,2}, |