projects
/
pxelator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f07e0a6
)
save mac address on renew
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 28 Aug 2009 19:22:24 +0000
(19:22 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 28 Aug 2009 19:22:24 +0000
(19:22 +0000)
lib/PXElator/dhcpd.pm
patch
|
blob
|
history
diff --git
a/lib/PXElator/dhcpd.pm
b/lib/PXElator/dhcpd.pm
index
39d598f
..
e9cc2b7
100644
(file)
--- a/
lib/PXElator/dhcpd.pm
+++ b/
lib/PXElator/dhcpd.pm
@@
-54,6
+54,7
@@
sub client_mac_ip {
if ( $ip = client::ip_from_mac( $mac ) ) {
print "RENEW $mac $ip\n";
+ client::save_ip_mac( $ip, $mac );
return $ip;
} elsif ( in_our_range( $request_ip ) ) {
$ip = client::next_ip( $mac );