summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-10-05 11:19:56 -0400
committerjim-p <jimp@pfsense.org>2010-10-05 11:19:56 -0400
commit43a22ee29d6dfba6235c4ec1d9694994802257f8 (patch)
treedddc0a72c7f4b01177b7c510229829fcf4a4ab96 /etc
parent6447bde5a1070a4b1fb90bd78cbdf19f82d04612 (diff)
downloadpfsense-43a22ee29d6dfba6235c4ec1d9694994802257f8.zip
pfsense-43a22ee29d6dfba6235c4ec1d9694994802257f8.tar.gz
This one looks safe, and might improve speed. Add it back.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index a9078b4..5e00ad8 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3238,7 +3238,7 @@ function interface_has_gateway($friendly) {
if (!empty($config['interfaces'][$friendly])) {
if (substr($friendly, 0, 5) == "ovpnc")
return true;
- $ifname = $config['interfaces'][$friendly];
+ $ifname = &$config['interfaces'][$friendly];
switch ($ifname['ipaddr']) {
case "dhcp":
case "carpdev-dhcp":
OpenPOWER on IntegriCloud