summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_tcp.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-08-13 14:42:41 +0200
committerPatrick McHardy <kaber@trash.net>2008-08-13 14:42:41 +0200
commit967279231a9ecfa99f26694a954afc535c63db1d (patch)
treefbf76c900c304bab6ba766d89fee9329d243e82a /extensions/libxt_tcp.c
parent1eada72b7da712bffb87e829b3b9deb3de6bca3c (diff)
Synchronize invert flag order with manpages
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'extensions/libxt_tcp.c')
-rw-r--r--extensions/libxt_tcp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/libxt_tcp.c b/extensions/libxt_tcp.c
index 743c5a23..d7800644 100644
--- a/extensions/libxt_tcp.c
+++ b/extensions/libxt_tcp.c
@@ -12,17 +12,17 @@ static void tcp_help(void)
{
printf(
"tcp match options:\n"
-" --tcp-flags [!] mask comp match when TCP flags & mask == comp\n"
+"[!] --tcp-flags mask comp match when TCP flags & mask == comp\n"
" (Flags: SYN ACK FIN RST URG PSH ALL NONE)\n"
"[!] --syn match when only SYN flag set\n"
" (equivalent to --tcp-flags SYN,RST,ACK,FIN SYN)\n"
-" --source-port [!] port[:port]\n"
+"[!] --source-port port[:port]\n"
" --sport ...\n"
" match source port(s)\n"
-" --destination-port [!] port[:port]\n"
+"[!] --destination-port port[:port]\n"
" --dport ...\n"
" match destination port(s)\n"
-" --tcp-option [!] number match if TCP option set\n");
+"[!] --tcp-option number match if TCP option set\n");
}
static const struct option tcp_opts[] = {