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

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

revision 199 by dpavlin, Tue Aug 11 15:13:19 2009 UTC revision 200 by dpavlin, Tue Aug 11 15:55:26 2009 UTC
# Line 189  sub get_request { Line 189  sub get_request {
189                          ;                          ;
190          } elsif ( $path =~ m!^/client(?:/$RE{net}{IPv4}{-keep})?! ) {          } elsif ( $path =~ m!^/client(?:/$RE{net}{IPv4}{-keep})?! ) {
191                  my $ip = $1 || $client->peerhost;                  my $ip = $1 || $client->peerhost;
192    
193                    if ( my $new_ip = $param->{change_ip} ) {
194                            client::change_ip( $ip, $new_ip );
195                            $ip = $new_ip;
196                    }
197    
198                  if ( $ip ne $server::ip ) {                  if ( $ip ne $server::ip ) {
199                          my $hostname = client::conf( $ip, 'hostname' => $param->{hostname} );                          my $hostname = client::conf( $ip, 'hostname' => $param->{hostname} );
200    

Legend:
Removed from v.199  
changed lines
  Added in v.200

  ViewVC Help
Powered by ViewVC 1.1.26