diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_mysql.cpp | 6 | ||||
-rw-r--r-- | src/modules/m_check.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_ident.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp index 035d0b498..82348d40d 100644 --- a/src/modules/extra/m_mysql.cpp +++ b/src/modules/extra/m_mysql.cpp @@ -660,7 +660,7 @@ void* DispatcherThread(void* arg); class Notifier : public InspSocket { - sockaddr_in sock_us; + insp_sockaddr sock_us; socklen_t uslen; Server* Srv; @@ -841,8 +841,8 @@ void* DispatcherThread(void* arg) log(DEBUG,"Initialize QueueFD to %d",QueueFD); - sockaddr_in addr; - in_addr ia; + insp_sockaddr addr; + insp_inaddr ia; inet_aton("127.0.0.1", &ia); addr.sin_family = AF_INET; addr.sin_addr = ia; diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 4dd0f8a62..29aaaa6dc 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -158,7 +158,7 @@ class cmd_check : public command_t else { /* /check on an IP address, or something that doesn't exist */ - struct sockaddr_in addr; + insp_sockaddr addr; long x = 0; if (inet_aton(parameters[0], &addr.sin_addr) == 0) diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 131c3b117..270457af7 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -33,8 +33,8 @@ class RFC1413 : public InspSocket { protected: Server* Srv; // Server* class used for core communications - sockaddr_in sock_us; // our port number - sockaddr_in sock_them; // their port number + insp_sockaddr sock_us; // our port number + insp_sockaddr sock_them; // their port number socklen_t uslen; // length of our port number socklen_t themlen; // length of their port number char ident_request[128]; // buffer used to make up the request string |