/[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 408 by dpavlin, Wed Sep 9 09:04:04 2009 UTC revision 409 by dpavlin, Wed Sep 9 10:36:00 2009 UTC
# Line 85  sub next_ip($) { Line 85  sub next_ip($) {
85          my $mac = shift;          my $mac = shift;
86          $mac = format::mac($mac);          $mac = format::mac($mac);
87    
88          if ( $server::new_clients-- ) {          if ( $server::new_clients > 0 ) {
89                  warn "# clients left: $server::new_clients\n";                  warn "# clients left: ", --$server::new_clients;
90          } else {          } else {
91                  warn "W: no new clients accepted";                  warn "W: no new clients accepted";
92                  return '0.0.0.0';                  return '0.0.0.0';

Legend:
Removed from v.408  
changed lines
  Added in v.409

  ViewVC Help
Powered by ViewVC 1.1.26