/[pxelator]/lib/PXElator/client.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/client.pm

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

revision 402 by dpavlin, Tue Sep 8 18:09:01 2009 UTC revision 403 by dpavlin, Tue Sep 8 20:38:26 2009 UTC
# Line 194  sub arp_mac_dev { Line 194  sub arp_mac_dev {
194          return $arp;          return $arp;
195  }  }
196    
197    sub rebuild_mac_links {
198            warn "# rebuild mac links";
199            foreach my $ip ( all_ips ) {
200                    my $mac = ip_path $ip, 'mac';
201                    if ( -e $mac ) {
202                            $mac = read_file $mac;
203                            save_ip_mac( $ip, $mac );
204                            warn "## $ip $mac\n";
205                    }
206            }
207    }
208    
209  1;  1;

Legend:
Removed from v.402  
changed lines
  Added in v.403

  ViewVC Help
Powered by ViewVC 1.1.26