diff --git a/src/os-win32.c b/src/os-win32.c index d875e122..61c20327 100644 --- a/src/os-win32.c +++ b/src/os-win32.c @@ -629,6 +629,8 @@ int os_islocaladdr(char *hostaddr) { int index; DPRINTF(E_DBG,L_MISC,"Checking if %s is local\n",hostaddr); + if(strncmp(hostaddr,"127.",4) == 0) + return TRUE; gethostname(hostname, sizeof(hostname)); ht=gethostbyname(hostname);