]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - wpa_supplicant/preauth_test.c
wpa_supplicant: Add option -I for additional config file
[thirdparty/hostap.git] / wpa_supplicant / preauth_test.c
index 3503e65e576bf596a6fcbcbfc66c4d7fb2b7d64d..ff2ae747a9b9a7dba5c4ccc55a4c0371b5b501fd 100644 (file)
@@ -309,7 +309,7 @@ int main(int argc, char *argv[])
        }
 
        os_memset(&wpa_s, 0, sizeof(wpa_s));
-       wpa_s.conf = wpa_config_read(argv[1]);
+       wpa_s.conf = wpa_config_read(argv[1], NULL);
        if (wpa_s.conf == NULL) {
                printf("Failed to parse configuration file '%s'.\n", argv[1]);
                return -1;