projects
/
pxelator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75bed4b
)
use mac_path
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 6 Sep 2011 18:31:44 +0000
(18:31 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 6 Sep 2011 18:31:44 +0000
(18:31 +0000)
lib/PXElator/client.pm
patch
|
blob
|
history
diff --git
a/lib/PXElator/client.pm
b/lib/PXElator/client.pm
index
89c3498
..
13ca3fd
100644
(file)
--- a/
lib/PXElator/client.pm
+++ b/
lib/PXElator/client.pm
@@
-182,7
+182,7
@@
sub all_ips {
sub remove {
my $ip = shift;
if ( my $mac = mac_from_ip $ip ) {
- unlink
"$server::conf/mac/$mac"
;
+ unlink
mac_path($mac)
;
}
rmtree "$server::conf/ip/$ip";
}