/[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 328 by dpavlin, Fri Aug 28 19:44:38 2009 UTC revision 329 by dpavlin, Fri Aug 28 21:55:41 2009 UTC
# Line 269  warn "XXX pids = ", dump( $daemons::pids Line 269  warn "XXX pids = ", dump( $daemons::pids
269                          if ( my $amt = client::conf( $ip, 'amt' ) ) {                          if ( my $amt = client::conf( $ip, 'amt' ) ) {
270                                  print $client qq|<h2>AMT</h2>|, amt::info( $amt, $ip );                                  print $client qq|<h2>AMT</h2>|, amt::info( $amt, $ip );
271                          }                          }
                 } else {  
272    
273                          my $arp = {                  } else {
                                 map {  
                                         my @c = split(/\s+/,$_);  
                                         if ( $#c == 5 ) {  
                                                 client::save_ip_mac( $c[0], $c[3] );  
                                                 ( uc $c[3] => $c[5] )  
                                         } else {  
                                         }  
                                 } read_file('/proc/net/arp')  
                         };  
274    
275                          warn "# arp ",dump( $arp );                          my $arp = clinet::arp_mac_dev;
276    
277                          print $client ok                          print $client ok
278                                  , qq|<h2>Clients on $server::ip</h2>|                                  , qq|<h2>Clients on $server::ip</h2>|

Legend:
Removed from v.328  
changed lines
  Added in v.329

  ViewVC Help
Powered by ViewVC 1.1.26