projects
/
pxelator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5523b7
)
show mac as table
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 10 Aug 2009 16:36:16 +0000
(16:36 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 10 Aug 2009 16:36:16 +0000
(16:36 +0000)
lib/PXElator/httpd.pm
patch
|
blob
|
history
diff --git
a/lib/PXElator/httpd.pm
b/lib/PXElator/httpd.pm
index
e290c55
..
3447cdf
100644
(file)
--- a/
lib/PXElator/httpd.pm
+++ b/
lib/PXElator/httpd.pm
@@
-246,7
+246,12
@@
sub get_request {
glob("$server::conf/ip/*")
)
, qq|<h2>ARP</h2>|
- , html::pre_dump( $arp )
+ , html::table( -3, 'mac', 'dev', 'ip',
+ map {
+ my $c = $arp->{$_};
+ ( html::tt( $_ ), $c->[1], $c->[0] )
+ } sort keys %$arp
+ )
;
}
} elsif ( $path =~ m{^/our/(\w+)/(\S+)} ) {