--- lib/PXElator/httpd.pm 2010/01/05 00:07:35 471 +++ lib/PXElator/httpd.pm 2010/01/05 17:34:07 474 @@ -356,8 +356,9 @@ my $conf = client::all_conf( $ip ); my $mac = delete $conf->{mac} || ''; + my $dev = $arp->{$mac}; - next unless $arp->{$mac} || $param->{all}; + next unless $dev || $param->{all}; my $style = 'style="color:' @@ -369,10 +370,12 @@ my $ip_text = qq|$ip|; $ip_text = qq|$ip| if ip::in_dhcp_range($ip); + $dev = qq|$dev| if $dev; + push @clients , qq|$ip_text| , format::mac( $mac => 'html' ) - , $arp->{$mac} + , $dev , delete $conf->{hostname} , html::conf( $ip, $conf, 'inline' ) ;