summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-02-13 21:00:04 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-02-13 21:00:04 -0200
commitf1a831b8a821382646fb506514005f6bb754f22a (patch)
tree4f28be9d78d54efa155d3dde5fea394e7294b9af
parenta1e4e2a79fce4c734cf3d8e485531f60da5763e8 (diff)
downloadpfsense-f1a831b8a821382646fb506514005f6bb754f22a.zip
pfsense-f1a831b8a821382646fb506514005f6bb754f22a.tar.gz
Restore require_once(interfaces.inc) on get_configured_ip_addresses(), it's required by get_interface_ip()
-rw-r--r--etc/inc/util.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index 3c78f95..c6c8273 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -836,6 +836,7 @@ function get_configured_interface_with_descr($only_opt = false, $withdisabled =
*/
function get_configured_ip_addresses() {
global $config;
+ require_once("interfaces.inc");
if (!function_exists('get_configured_interface_list'))
require_once("interfaces.inc");
OpenPOWER on IntegriCloud