summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-07-01 16:45:26 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2010-07-01 16:45:26 +0200
commitc4413a601ba46e336e624b035a1b69f7aa1a9318 (patch)
tree9be01a914716034e0f9ec886f3e038d58800da91 /qa
parentfd3827bc74b6d9e5acb7f5fcf79e6e1cb326640d (diff)
downloadconntrack-tools-c4413a601ba46e336e624b035a1b69f7aa1a9318.tar.gz
conntrack-tools-c4413a601ba46e336e624b035a1b69f7aa1a9318.zip
conntrack: --[src|dst|any]-nat requires IP:PORT as argument
This patch restricts the behaviour that we previously introduced in 142606c60808b3ab0496155ac3d086765e6baef3. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'qa')
-rw-r--r--qa/testsuite/03nat4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/testsuite/03nat b/qa/testsuite/03nat
index 8043af6..69fbff7 100644
--- a/qa/testsuite/03nat
+++ b/qa/testsuite/03nat
@@ -29,8 +29,8 @@
# create
-I -s 1.1.1.1 -d 2.2.2.2 --dst-nat 3.3.3.3:80 -p tcp --sport 10 --dport 20 --state LISTEN -u SEEN_REPLY -t 50 ; OK
# show
--L --dst-nat :80 ; OK
+-L --dst-nat 3.3.3.3:80 ; OK
# show
--L --any-nat :80 ; OK
+-L --any-nat 3.3.3.3:80 ; OK
# delete
-D -s 1.1.1.1 ; OK