Added support of WPA3-SAE security mode.
[platform/upstream/connman.git] / src / inet.c
index 25e5372..d54760d 100644 (file)
@@ -1108,7 +1108,7 @@ bool connman_inet_compare_subnet(int index, const char *host)
                return false;
 
        if (inet_aton(host, &_host_addr) == 0)
-               return -1;
+               return false;
        host_addr = _host_addr.s_addr;
 
        sk = socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0);