summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-09-14 20:32:54 +0000
committerErmal <eri@pfsense.org>2010-09-14 20:32:54 +0000
commit01f1b6012285ab25c266f3733b89e4b96b01132c (patch)
tree07c6814c69cfe94dd86008e63ead6f2fa80c6cec /etc/inc/gwlb.inc
parent0c8cdb2571c032484662e1c0681830d9d4dc26c3 (diff)
downloadpfsense-01f1b6012285ab25c266f3733b89e4b96b01132c.zip
pfsense-01f1b6012285ab25c266f3733b89e4b96b01132c.tar.gz
Ticket #867. Flush the cache when restarting apinger and also when rc.newwanip is called. also restart apinger earlier in to be on latest address asap.
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r--etc/inc/gwlb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index ea303e0..eb00826 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -145,7 +145,7 @@ EOD;
}
/* Interface ip is needed since apinger will bind a socket to it. */
- $gwifip = find_interface_ip($gateway['interface']);
+ $gwifip = find_interface_ip($gateway['interface'], true);
if (!is_ipaddr($gwifip))
continue; //Skip this target
OpenPOWER on IntegriCloud