diff options
author | Ermal <eri@pfsense.org> | 2010-03-24 16:11:25 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-24 16:11:25 +0000 |
commit | 7554ab8ca355952a3048a8ee64c54810949cad7f (patch) | |
tree | f754074f90308d17fed9eb0910aa9b0c51ab0c2e /etc/inc | |
parent | f38f806257eb5209adb315b99b42c6d9d943b4dc (diff) | |
download | pfsense-7554ab8ca355952a3048a8ee64c54810949cad7f.zip pfsense-7554ab8ca355952a3048a8ee64c54810949cad7f.tar.gz |
Prevent upgrade/spurious errors from happening.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 452b5b6..13ba21a 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2109,7 +2109,7 @@ EOD; if($interface == $gateway['interface'] && isset($gateway['defaultgw'])) { $setdefaultgw = true; break; - } else if (isset($gateway['defaultgw'])) { + } else if (isset($gateway['defaultgw']) && !empty($gateway['interface'])) { $founddefaultgw = true; break; } |