summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2014-10-27 15:29:42 -0500
committerChris Buechler <cmb@pfsense.org>2014-10-27 15:32:17 -0500
commit7e1aa4b771b57fea139a1c94ee5112be00c6b9dd (patch)
tree350d69c8bb4114125e701a9cb993783515939552 /usr/local
parente8b5f72496f64b25a47e20bd48ed9d98d9bd1626 (diff)
downloadpfsense-7e1aa4b771b57fea139a1c94ee5112be00c6b9dd.zip
pfsense-7e1aa4b771b57fea139a1c94ee5112be00c6b9dd.tar.gz
fix ping_hosts.sh to not ping IPsec if CARP is in backup
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/bin/ping_hosts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/bin/ping_hosts.sh b/usr/local/bin/ping_hosts.sh
index 7126c99..d584dd1 100755
--- a/usr/local/bin/ping_hosts.sh
+++ b/usr/local/bin/ping_hosts.sh
@@ -40,7 +40,7 @@ if [ -f /var/db/pkgpinghosts ]; then
PKGHOSTS="/var/db/pkgpinghosts"
fi
-cat $PKGHOSTS $HOSTS $IPSECHOSTS >/tmp/tmpHOSTS
+cat $PKGHOSTS $HOSTS $CURRENTIPSECHOSTS >/tmp/tmpHOSTS
if [ ! -d /var/db/pingstatus ]; then
/bin/mkdir -p /var/db/pingstatus
OpenPOWER on IntegriCloud