Changeset 1245
- Timestamp:
- 08/03/08 20:42:04 (2 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/nameserver.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/nameserver.cc
r1123 r1245 118 118 119 119 if(bind(s, (sockaddr*)&locala,sizeof(locala))<0) { 120 L<<Logger::Error<<"binding UDP socket to '"+localname+"' : "<<strerror(errno)<<endl;120 L<<Logger::Error<<"binding UDP socket to '"+localname+"' port "+lexical_cast<string>(ntohs(locala.sin_port))+": "<<strerror(errno)<<endl; 121 121 throw AhuException("Unable to bind to UDP socket"); 122 122 }