Changeset 1271
- Timestamp:
- 11/15/08 20:44:33 (5 years ago)
- Location:
- trunk/pdns/pdns
- Files:
-
- 2 modified
-
backends/gsql/gsqlbackend.cc (modified) (2 diffs)
-
nameserver.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/backends/gsql/gsqlbackend.cc
r1180 r1271 248 248 char output[1024]; 249 249 250 d_db->setLog( arg().mustDo("query-logging"));250 d_db->setLog(::arg().mustDo("query-logging")); 251 251 252 252 string lcqname=toLower(qname); … … 368 368 r.content=row[0]; 369 369 if (row[1].empty()) 370 r.ttl = arg().asNum( "default-ttl" );370 r.ttl = ::arg().asNum( "default-ttl" ); 371 371 else 372 372 r.ttl=atol(row[1].c_str()); -
trunk/pdns/pdns/nameserver.cc
r1270 r1271 151 151 ComboAddress locala(localname, ::arg().asNum("local-port")); 152 152 153 if( bind(s, (sockaddr*)&locala, sizeof(locala))<0) {153 if(::bind(s, (sockaddr*)&locala, sizeof(locala))<0) { 154 154 L<<Logger::Error<<"binding to UDP ipv6 socket: "<<strerror(errno)<<endl; 155 155 throw AhuException("Unable to bind to UDP ipv6 socket");