/[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 253 by dpavlin, Mon Aug 17 15:31:53 2009 UTC revision 254 by dpavlin, Tue Aug 18 14:31:56 2009 UTC
# Line 92  sub next_ip($) { Line 92  sub next_ip($) {
92  sub save_ip_mac {  sub save_ip_mac {
93          my ($ip,$mac) = @_;          my ($ip,$mac) = @_;
94    
95          mkdir ip_path($ip) unless -e $ip;          mkdir ip_path($ip) unless -e ip_path($ip);
96    
97          my $mac_path = mac_path($mac);          my $mac_path = mac_path($mac);
98          unlink $mac_path if -e $mac_path;       # XXX audit?          unlink $mac_path if -e $mac_path;       # XXX audit?

Legend:
Removed from v.253  
changed lines
  Added in v.254

  ViewVC Help
Powered by ViewVC 1.1.26