diff options
-rw-r--r-- | src/socket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index d1eca25fc..d826bfb8c 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -39,7 +39,7 @@ bool BindSocket(int sockfd, insp_sockaddr client, insp_sockaddr server, int port if (*addr == '*') *addr = 0; - if ((*addr) && (inet_aton(addr,&addy) < 1)) + if ((*addr) && (insp_aton(addr,&addy) < 1)) { log(DEBUG,"Invalid IP '%s' given to BindSocket()", addr); return false;; |