/[pxelator]/lib/PXElator/dhcpd.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/dhcpd.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 313 by dpavlin, Thu Aug 27 18:59:12 2009 UTC revision 324 by dpavlin, Fri Aug 28 19:22:24 2009 UTC
# Line 54  sub client_mac_ip { Line 54  sub client_mac_ip {
54    
55          if ( $ip = client::ip_from_mac( $mac ) ) {          if ( $ip = client::ip_from_mac( $mac ) ) {
56                  print "RENEW $mac $ip\n";                  print "RENEW $mac $ip\n";
57                    client::save_ip_mac( $ip, $mac );
58                  return $ip;                  return $ip;
59          } elsif ( in_our_range( $request_ip ) ) {          } elsif ( in_our_range( $request_ip ) ) {
60                  $ip = client::next_ip( $mac );                  $ip = client::next_ip( $mac );

Legend:
Removed from v.313  
changed lines
  Added in v.324

  ViewVC Help
Powered by ViewVC 1.1.26