Fix parsing of multiple IPs in --addr-pool option (#4526)

This commit is contained in:
linear0211 2025-08-04 11:47:54 +09:00 committed by GitHub
parent 5d15f8fa2d
commit b00ff11ff1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -141,7 +141,7 @@ libc_wasi_parse(char *arg, libc_wasi_parse_context_t *ctx)
} }
ctx->addr_pool[ctx->addr_pool_size++] = token; ctx->addr_pool[ctx->addr_pool_size++] = token;
token = strtok(NULL, ";"); token = strtok(NULL, ",");
} }
} }
else if (!strncmp(arg, "--allow-resolve=", 16)) { else if (!strncmp(arg, "--allow-resolve=", 16)) {