Merge commit from fork

If `--addr-pool=1.2.3.4`, the runtime will return an error.
The value must be in the form of ADDRESS/MASK.
This commit is contained in:
liang.he
2025-07-27 14:38:56 +08:00
committed by GitHub
parent c080aa80d0
commit 121232a995
4 changed files with 13 additions and 3 deletions

View File

@ -45,7 +45,7 @@ libc_wasi_print_help(void)
"path, for example:\n");
printf(" --map-dir=<guest-path1::host-path1> "
"--map-dir=<guest-path2::host-path2>\n");
printf(" --addr-pool=<addrs> Grant wasi access to the given network "
printf(" --addr-pool=<addr/mask> Grant wasi access to the given network "
"addresses in\n");
printf(" CIDR notation to the program, separated "
"with ',',\n");