summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-01-05 11:16:14 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-01-05 11:16:14 -0200
commitfd9b1512398854fa37a15ff794d89dc6e8ed0a8d (patch)
tree19cd949c8a21809b925f6b26b90ab6054d3285f3
parenteef5aeeb4991c8839d5922f7d79867b1197d29fc (diff)
parent2d793d01b7d4125abf9b41cab39ce1a1d5d46d87 (diff)
downloadpfsense-fd9b1512398854fa37a15ff794d89dc6e8ed0a8d.zip
pfsense-fd9b1512398854fa37a15ff794d89dc6e8ed0a8d.tar.gz
Merge pull request #1414 from phil-davis/patch-1
-rw-r--r--etc/inc/gwlb.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 15d8962..887faa9 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -180,6 +180,9 @@ EOD;
if (!is_ipaddrv4($gwifip))
continue; //Skip this target
+ if ($gwifip == "0.0.0.0")
+ continue; //Skip this target - the gateway is still waiting for DHCP
+
/*
* If the gateway is the same as the monitor we do not add a
* route as this will break the routing table.
OpenPOWER on IntegriCloud