aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorstefan <stefan@FreeBSD.org>2010-07-07 15:04:31 +0800
committerstefan <stefan@FreeBSD.org>2010-07-07 15:04:31 +0800
commit5ca14521216d6d53887ba9ccb51394ca1c79cd83 (patch)
treecabf3c14e2bf16af4e901e82da846ee00ac5cfe6 /net-mgmt
parentafcc06cf9d3584703e5b10040bb800c06a54405d (diff)
downloadfreebsd-ports-graphics-5ca14521216d6d53887ba9ccb51394ca1c79cd83.tar.gz
freebsd-ports-graphics-5ca14521216d6d53887ba9ccb51394ca1c79cd83.tar.zst
freebsd-ports-graphics-5ca14521216d6d53887ba9ccb51394ca1c79cd83.zip
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
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 9ddb2d3da6f..c353e4e1b2b 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>