Changeset 1251

Show
Ignore:
Timestamp:
08/03/08 23:32:35 (20 months ago)
Author:
ahu
Message:

hook up tcp-control-range

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/dynlistener.cc

    r1246 r1251  
    187187      } 
    188188 
     189      if(!d_tcprange.match(&remote)) { 
     190        writen2(d_client, "Access denied to "+remote.toString()+"\n"); 
     191        close(d_client); 
     192        continue; 
     193      } 
     194 
    189195      boost::shared_ptr<FILE> fp=boost::shared_ptr<FILE>(fdopen(dup(d_client), "r"), fclose); 
    190196      if(d_tcp) {