diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-07-01 17:09:49 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-07-01 17:09:49 +0200 |
commit | 8ece5d657d98727797f374a248c3c442e0aaa87a (patch) | |
tree | da7da79566f39bce9222e40f618a30ae0f74b666 /src/queue.c | |
parent | 0b3f6c9538da47d546a0bc12c8bf5d8dd8fc2fa7 (diff) | |
download | conntrack-tools-8ece5d657d98727797f374a248c3c442e0aaa87a.tar.gz conntrack-tools-8ece5d657d98727797f374a248c3c442e0aaa87a.zip |
conntrack: cleanup parsing of the NAT arguments
This patch cleans up nat_parse() and it also displays nicer
error message for malformed arguments.
% conntrack -L --src-nat :80
conntrack v0.9.14 (conntrack-tools): No IP specified
Try `conntrack -h' or 'conntrack --help' for more information.
% conntrack -L --src-nat 1.1.1.1:
conntrack v0.9.14 (conntrack-tools): No port specified after `:'
Try `conntrack -h' or 'conntrack --help' for more information.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/queue.c')
0 files changed, 0 insertions, 0 deletions