Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2298 → Rev 2299

/web/acc/admin/network2.php
7,7 → 7,7
echo "<tr><th>$l_mac_address<th>$l_ip_address<th>Info<th>$l_del</tr>";
// Read the "ether" file
$intif = $conf["INTIF"];
exec ("sudo /sbin/ip link show $intif", $output);
exec("sudo /sbin/ip link show ".escapeshellarg($intif), $output);
$detail = explode (" " , $output[1]);
$intif_mac_addr=strtoupper(str_replace(":","-",$detail[5]));
unset ($output);unset ($detail);