diff options
author | jim-p <jimp@pfsense.org> | 2010-10-05 11:19:56 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-10-05 11:19:56 -0400 |
commit | 43a22ee29d6dfba6235c4ec1d9694994802257f8 (patch) | |
tree | dddc0a72c7f4b01177b7c510229829fcf4a4ab96 | |
parent | 6447bde5a1070a4b1fb90bd78cbdf19f82d04612 (diff) | |
download | pfsense-43a22ee29d6dfba6235c4ec1d9694994802257f8.zip pfsense-43a22ee29d6dfba6235c4ec1d9694994802257f8.tar.gz |
This one looks safe, and might improve speed. Add it back.
-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 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": |