mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Display non resolve entries automatically
This commit is contained in:
parent
df0e018855
commit
4fa5203f59
@ -66,7 +66,7 @@ include('head.inc');
|
||||
</form>
|
||||
|
||||
<?php
|
||||
if ($_POST['submit'] == 'Show') {
|
||||
|
||||
$netstat = ($_POST['resolve'] == 'yes' ? 'netstat -rW' : 'netstat -nrW');
|
||||
list($dummy, $internet, $internet6) = explode("\n\n", shell_exec($netstat));
|
||||
|
||||
@ -99,7 +99,7 @@ if ($_POST['submit'] == 'Show') {
|
||||
}
|
||||
print("</table>\n");
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
</table>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user