projects
/
pxelator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf3b722
)
chopm mac if entered in editor
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 2 Jan 2010 15:47:39 +0000
(15:47 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 2 Jan 2010 15:47:39 +0000
(15:47 +0000)
lib/PXElator/client.pm
patch
|
blob
|
history
diff --git
a/lib/PXElator/client.pm
b/lib/PXElator/client.pm
index
7d49920
..
daab34a
100644
(file)
--- a/
lib/PXElator/client.pm
+++ b/
lib/PXElator/client.pm
@@
-202,6
+202,7
@@
sub rebuild_mac_links {
my $mac = ip_path $ip, 'mac';
if ( -e $mac ) {
$mac = read_file $mac;
+ chomp $mac;
save_ip_mac( $ip, $mac );
warn "## $ip $mac\n";
}