summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-02-14 07:39:19 +0000
committerErmal <eri@pfsense.org>2013-02-14 07:39:19 +0000
commitd97741c2b2be20fe52cb8909d94f9e33be1e11d8 (patch)
tree6295f0a80b0c9d9dd1167cdeaa717be287f40d1c /etc/inc
parent965c3e23a60f25d263389bf02b685bb7f20f3915 (diff)
downloadpfsense-d97741c2b2be20fe52cb8909d94f9e33be1e11d8.zip
pfsense-d97741c2b2be20fe52cb8909d94f9e33be1e11d8.tar.gz
Check for the right function name since the previous was present in util.inc not interfaces.inc
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/util.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index c6c8273..b0f6aa1 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -836,9 +836,8 @@ 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'))
+ if (!function_exists('get_interface_ip'))
require_once("interfaces.inc");
$ip_array = array();
$interfaces = get_configured_interface_list();
OpenPOWER on IntegriCloud