--- lib/PXElator/client.pm 2009/08/17 13:27:18 244 +++ lib/PXElator/client.pm 2009/08/17 15:31:53 246 @@ -92,7 +92,7 @@ sub save_ip_mac { my ($ip,$mac) = @_; - mkdir ip_path($ip); + mkdir ip_path($ip) unless -e $ip; my $mac_path = mac_path($mac); unlink $mac_path if -e $mac_path; # XXX audit?