summaryrefslogtreecommitdiffstats
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:36:13 -0500
commit4721677dd735dcc8de2f961b2fe02d2c3bf74451 (patch)
tree51990ae2d4fcbfd03eaa1d5fff932c84b8e4d81f
parente112f9ee60b39f19cae673ba9e68b842531f521b (diff)
downloadpfsense-4721677dd735dcc8de2f961b2fe02d2c3bf74451.zip
pfsense-4721677dd735dcc8de2f961b2fe02d2c3bf74451.tar.gz
fix ping_hosts.sh to not ping IPsec if CARP is in backup
-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