/[pxelator]/lib/PXElator/httpd.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/PXElator/httpd.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 513 by dpavlin, Sun Jan 31 15:22:34 2010 UTC revision 514 by dpavlin, Wed Jul 21 18:29:33 2010 UTC
# Line 418  warn "XXX pids = ", dump( $daemons::pids Line 418  warn "XXX pids = ", dump( $daemons::pids
418                                  my $mac = delete $conf->{mac} || '';                                  my $mac = delete $conf->{mac} || '';
419                                  my $dev = $arp->{$mac};                                  my $dev = $arp->{$mac};
420    
421                                  next unless $dev || $param->{all};                                  my $in_dhcp_range = ip::in_dhcp_range($ip);
422    
423                                    next unless $dev || $param->{all} || $in_dhcp_range;
424    
425                                  my $style                                  my $style
426                                          = 'style="color:'                                          = 'style="color:'
# Line 428  warn "XXX pids = ", dump( $daemons::pids Line 430  warn "XXX pids = ", dump( $daemons::pids
430    
431                                  $style ||= '';                                  $style ||= '';
432                                  my $ip_text = qq|<tt>$ip</tt>|;                                  my $ip_text = qq|<tt>$ip</tt>|;
433                                  $ip_text = qq|<tt><b>$ip</b></tt>| if ip::in_dhcp_range($ip);                                  $ip_text = qq|<tt><b>$ip</b></tt>| if $in_dhcp_range;
434    
435                                  $dev = qq|<tt>$dev</tt>| if $dev;                                  $dev = qq|<tt>$dev</tt>| if $dev;
436    

Legend:
Removed from v.513  
changed lines
  Added in v.514

  ViewVC Help
Powered by ViewVC 1.1.26