diff options
author | Florian Westphal <fw@strlen.de> | 2011-06-15 23:39:07 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-07-08 13:30:36 +0200 |
commit | daa3b849286222a131e0829676ba98140de7241b (patch) | |
tree | f471ffc8306091d132d27f9e508f423cd783e314 /src | |
parent | df2b5109b185be8432e0bea920baef731536a8fd (diff) | |
download | conntrack-tools-daa3b849286222a131e0829676ba98140de7241b.tar.gz conntrack-tools-daa3b849286222a131e0829676ba98140de7241b.zip |
conntrack: add missing break when parsing --id/--secmark options
commit 147ed522f52a62ab0d854ddc443d27d97dbf6cdf
(conntrack: add support for mark mask) failed to add a break
after secmark/id option parsing.
Results in '-m 42 -c 1' to search for mark 1 instead of 42.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/conntrack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conntrack.c b/src/conntrack.c index b695da4..5364eaa 100644 --- a/src/conntrack.c +++ b/src/conntrack.c @@ -1565,6 +1565,7 @@ int main(int argc, char *argv[]) nfct_set_attr_u32(tmpl.ct, opt2attr[c], strtoul(optarg, NULL, 0)); + break; case 'm': options |= opt2type[c]; parse_u32_mask(optarg, &tmpl.mark); |