- Timestamp:
- Oct 15, 2012, 7:17:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/networkinfo/NetworkChangeDetection.cpp
r8569 r10767 38 38 39 39 #include "NetworkChangeDetection.h" 40 41 #include <string> 42 #include <algorithm> 43 #include <cerrno> 44 #include <string.h> 45 #include <sys/types.h> 46 #include <unistd.h> 47 #include <boost/bind.hpp> 48 #include <sys/socket.h> 49 50 extern "C" { 51 #include <linux/netlink.h> 52 #include <linux/rtnetlink.h> 53 } 54 55 #include "ariba/utility/system/SystemQueue.h" 56 57 using std::find; 58 using ariba::utility::SystemQueue; 59 using ariba::utility::SystemEventType; 40 60 41 61 namespace ariba { … … 123 143 if( obj->routingSocket < 0 ){ 124 144 logging_error("could not connect to routing socket: " + 125 st ring(strerror(errno)));145 std::string(strerror(errno))); 126 146 return; 127 147 } … … 155 175 if( ret < 0 ){ 156 176 close( obj->routingSocket ); 157 logging_error( "could not bind routing socket: " + st ring(strerror(errno)) );177 logging_error( "could not bind routing socket: " + std::string(strerror(errno)) ); 158 178 return; 159 179 } … … 185 205 // all others are some kind of error 186 206 logging_error( "could not read from routing socket: " + 187 st ring(strerror(errno)) );207 std::string(strerror(errno)) ); 188 208 break; 189 209 }
Note:
See TracChangeset
for help on using the changeset viewer.