Skip to content

Commit b00ff11

Browse files
authored
Fix parsing of multiple IPs in --addr-pool option (#4526)
1 parent 5d15f8f commit b00ff11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

product-mini/platforms/common/libc_wasi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ libc_wasi_parse(char *arg, libc_wasi_parse_context_t *ctx)
141141
}
142142

143143
ctx->addr_pool[ctx->addr_pool_size++] = token;
144-
token = strtok(NULL, ";");
144+
token = strtok(NULL, ",");
145145
}
146146
}
147147
else if (!strncmp(arg, "--allow-resolve=", 16)) {

0 commit comments

Comments
 (0)