Changeset 186 for trunk/pdns/pdns/pdns_recursor.cc
- Timestamp:
- 09/20/03 14:20:38 (10 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/pdns_recursor.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/pdns_recursor.cc
r180 r186 172 172 of<<getpid()<<endl; 173 173 else 174 L<<Logger::Error<<"Requested to write pid for "<<getpid()<<" to "<<fname<<" failed: "<<strerror(errno)<<endl;174 L<<Logger::Error<<"Requested to write pid for "<<getpid()<<" to "<<fname<<" failed: "<<strerror(errno)<<endl; 175 175 } 176 176 … … 447 447 arg().set("config-dir","Location of configuration directory (recursor.conf)")=SYSCONFDIR; 448 448 arg().set("socket-dir","Where the controlsocket will live")=LOCALSTATEDIR; 449 arg().set("delegation-only","Which domains we only accept delegations from")=""; 449 450 arg().setCmd("help","Provide a helpful message"); 450 451 L.toConsole(Logger::Warning); … … 458 459 459 460 arg().parse(argc,argv); 461 462 arg().set("delegation-only")=toLower(arg()["delegation-only"]); 460 463 461 464 if(arg().mustDo("help")) { … … 474 477 makeTCPServerSocket(); 475 478 479 480 476 481 char data[1500]; 477 482 struct sockaddr_in fromaddr;