summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
diff options
context:
space:
mode:
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