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

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

revision 398 by dpavlin, Tue Sep 8 17:28:28 2009 UTC revision 399 by dpavlin, Tue Sep 8 18:09:01 2009 UTC
# Line 84  sub next_ip($) { Line 84  sub next_ip($) {
84          my $mac = shift;          my $mac = shift;
85          $mac = format::mac($mac);          $mac = format::mac($mac);
86    
87          if ( my $clients_left = server::shared( 'new_clients' ) ) {          if ( $server::new_clients-- ) {
88                  server::shared( 'new_clients', $clients_left - 1 );                  warn "# clients left: $server::new_clients\n";
89          } else {          } else {
90                  warn "W: no new clients accepted";                  warn "W: no new clients accepted";
91                  return '0.0.0.0';                  return '0.0.0.0';

Legend:
Removed from v.398  
changed lines
  Added in v.399

  ViewVC Help
Powered by ViewVC 1.1.26