diff options
-rw-r--r-- | etc/inc/globals.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc index b8593dc..3c28958 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -41,7 +41,7 @@ function remove_numbers($string) { } function get_nics_with_capabilities($CAPABILITIES) { - $ifs = `ifconfig -l`; + $ifs = `/sbin/ifconfig -l`; $if_list = split(" ", $ifs); $vlan_native_supp = array(); foreach($if_list as $if => $iface) { @@ -166,4 +166,4 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024", $config_inc_loaded = false; -?>
\ No newline at end of file +?> |