summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2010-07-07 07:04:31 +0000
committerStefan Walter <stefan@FreeBSD.org>2010-07-07 07:04:31 +0000
commitd890d8fdca7918f98692eadf1036c2e9a268aa12 (patch)
treeaafd688152846e97c137a2ee5680e6d9d777f157 /net-mgmt
parentUpdate to 2.1.2. (diff)
Make the IPv6 address pinged for testing ping6 configurable, too, to make it
work in jails. PR: 145668 Submitted by: "Charlie &" <root@flappie.debank.tv> Patch by: stefan Approved by: maintainer Feature safe: yes
Notes
Notes: svn path=/head/; revision=257478
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nagios-plugins/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile
index 9ddb2d3da6f4..c353e4e1b2b0 100644
--- a/net-mgmt/nagios-plugins/Makefile
+++ b/net-mgmt/nagios-plugins/Makefile
@@ -42,6 +42,7 @@ NAGIOSHTMURL?= /nagios
NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin
NAGIOSPOLLIP?= 127.0.0.1
+NAGIOSPOLLIP6?= ::1
.include <bsd.port.pre.mk>
@@ -145,6 +146,7 @@ post-patch:
.endfor
.if defined(WITH_JAIL)
@${REINPLACE_CMD} -e 's# 127.0.0.1 # ${NAGIOSPOLLIP} #g' ${WRKSRC}/configure.in
+ @${REINPLACE_CMD} -e 's# ::1 # ${NAGIOSPOLLIP6} #g' ${WRKSRC}/configure.in
.endif
.include <bsd.port.post.mk>