summaryrefslogtreecommitdiff
path: root/regress/sys/net/pf_divert
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/net/pf_divert')
-rw-r--r--regress/sys/net/pf_divert/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/regress/sys/net/pf_divert/Makefile b/regress/sys/net/pf_divert/Makefile
index 97eda670b9a..ad3f65cdca4 100644
--- a/regress/sys/net/pf_divert/Makefile
+++ b/regress/sys/net/pf_divert/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2014/07/11 20:41:20 bluhm Exp $
+# $OpenBSD: Makefile,v 1.10 2014/07/12 21:00:46 bluhm Exp $
# The following ports must be installed for the regression tests:
# p5-IO-Socket-INET6 object interface for AF_INET and AF_INET6 domain sockets
@@ -26,6 +26,8 @@ regress:
# local and remote.
# You must have an anchor "regress" for the divert rules in the pf.conf
# of the remote machine. The kernel of the remote machine gets testet.
+#
+# Run make check-setup to see if you got the setup correct.
LOCAL_ADDR ?=
REMOTE_ADDR ?=
@@ -145,6 +147,7 @@ stamp-syntax: ${ARGS}
# Check wether the address, route and remote setup is correct
check-setup:
+ @echo '\n======== $@ ========'
ping -n -c 1 ${LOCAL_ADDR}
ping -n -c 1 ${REMOTE_ADDR}
ping6 -n -c 1 ${LOCAL_ADDR6}