mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-09-06 01:41:35 +00:00
Fix parsing of multiple IPs in --addr-pool option (#4526)
This commit is contained in:
parent
5d15f8fa2d
commit
b00ff11ff1
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user