luci-proto-wireguard: Fix misleading description
Description was misleading, as the routes are not created automatically. We have a flag to create routes. Added a hint what to fill into the AlledIPs field as users repeatedly have struggled to use it correctly. Thanks to Stefan Agner for providing feedback on this. Signed-off-by: Dan Luedtke <mail@danrl.com>
This commit is contained in:
parent
ebb5a90f76
commit
3bfc32f541
1 changed files with 2 additions and 1 deletions
|
@ -103,7 +103,8 @@ allowed_ips = peers:option(
|
|||
"allowed_ips",
|
||||
translate("Allowed IPs"),
|
||||
translate("Required. IP addresses and prefixes that this peer is allowed " ..
|
||||
"to use inside the tunnel. Routes will be added accordingly.")
|
||||
"to use inside the tunnel. Usually the peer's tunnel IP " ..
|
||||
"addresses and the networks the peer routes through the tunnel.")
|
||||
)
|
||||
allowed_ips.datatype = "ipaddr"
|
||||
allowed_ips.optional = false
|
||||
|
|
Loading…
Reference in a new issue