summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-11-16 23:25:01 +0000
committerErmal Luçi <eri@pfsense.org>2008-11-16 23:25:01 +0000
commit57160a5f09cc61e3ba59de6cd6e9daa48d998ec2 (patch)
tree9f0c99ce635e3d04afabd9f4e82a4be7bd3b5919
parenteab7d610f5eb4a85ea991964cce1073f02bbce28 (diff)
downloadpfsense-57160a5f09cc61e3ba59de6cd6e9daa48d998ec2.zip
pfsense-57160a5f09cc61e3ba59de6cd6e9daa48d998ec2.tar.gz
Remove debugging.
-rw-r--r--etc/inc/pfsense-utils.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index f297ee8..e054404 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1450,7 +1450,6 @@ function find_interface_subnet($interface, $flush = false)
if (!isset($interface_sn_arr_cache[$interface]) or $flush) {
$interface_sn_arr_cache[$interface] = exec_command("/sbin/ifconfig {$interface} | /usr/bin/grep -w \"inet\" | /usr/bin/cut -d\" \" -f 4 | /usr/bin/head -1");
$interface_sn_arr_cache[$interface] = strlen(str_replace("0", "", base_convert(str_replace("\n", "", $interface_sn_arr_cache[$interface]),16, 2)));
- log_error("int:{$interface} - generated subnet mask {$interface_sn_arr_cache[$interface]}");
}
return $interface_sn_arr_cache[$interface];
OpenPOWER on IntegriCloud