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

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

revision 137 by dpavlin, Mon Aug 3 19:59:08 2009 UTC revision 138 by dpavlin, Tue Aug 4 15:25:09 2009 UTC
# Line 36  sub transfer_status { Line 36  sub transfer_status {
36          }          }
37  }  }
38    
39    use config;
40    
41  sub tftp_request {  sub tftp_request {
42          my $request = shift;          my $request = shift;
43    
# Line 43  sub tftp_request { Line 45  sub tftp_request {
45    
46          warn 'request: ', dump( $request ) if $debug;          warn 'request: ', dump( $request ) if $debug;
47    
48          config::for_ip();          config::for_ip( $request->{_REQUEST_}->{PeerAddr} );
49    
50          if ( $request->{RootDir} ne $dir ) {          if ( $request->{RootDir} ne $dir ) {
51                  $request->{RootDir} = $dir;                  $request->{RootDir} = $dir;

Legend:
Removed from v.137  
changed lines
  Added in v.138

  ViewVC Help
Powered by ViewVC 1.1.26