mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
ARP Tabelle aus der DHCP CGI entfernt
Pakfire CGI nochmal korrigiert SSH Zugriff mit Timer gebaut git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@780 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -1014,33 +1014,6 @@ END
|
||||
|
||||
&Header::closebox();
|
||||
|
||||
&Header::openbox('100%', 'left', $Lang::tr{'arp table entries'});
|
||||
my @ip = qx(/sbin/ip neigh show | awk '{print \$1}');
|
||||
my @mac = qx(/sbin/ip neigh show | awk '{print \$5}');
|
||||
|
||||
print <<END
|
||||
<hr />
|
||||
<table width='100%'>
|
||||
<tr>
|
||||
<td width='40%'><b>$Lang::tr{'ip address'}</b></td><td width='40%'><b>$Lang::tr{'mac address'}</b></td><td width='20%'>Optionen</td>
|
||||
</tr>
|
||||
END
|
||||
;
|
||||
my $i=0;
|
||||
|
||||
foreach my $ip(@ip)
|
||||
{
|
||||
print"<tr><form method='post' action='$ENV{'SCRIPT_NAME'}'><td><input type='hidden' name='FIX_ADDR' value='$ip' />$ip</td>";
|
||||
print"<td><input type='hidden' name='FIX_MAC' value='@mac[$i]' />@mac[$i]</td>";
|
||||
print"<td><input type='hidden' name='ACTION' value='$Lang::tr{'add'}2' /><input type='submit' name='SUBMIT' value='$buttontext' /></td></form></tr>";
|
||||
}
|
||||
|
||||
|
||||
print"</table>";
|
||||
|
||||
&Header::closebox();
|
||||
|
||||
|
||||
foreach my $itf (@ITFs) {
|
||||
if ($dhcpsettings{"ENABLE_${itf}"} eq 'on') {
|
||||
# display leases with a list of actions to do with the global select checkbox.
|
||||
|
||||
Reference in New Issue
Block a user