summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-wireguard/luasrc/model
diff options
context:
space:
mode:
authordanrl <mail@danrl.com>2016-12-01 09:01:35 +0100
committerdanrl <mail@danrl.com>2016-12-01 09:01:35 +0100
commit3bfc32f54112a8538d03ded7ff48fb772965a55e (patch)
tree76933bdd649f1495d75db4756197ce7478460aff /protocols/luci-proto-wireguard/luasrc/model
parentebb5a90f76a5c4f3876c94dc6215b4c54ceff216 (diff)
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>
Diffstat (limited to 'protocols/luci-proto-wireguard/luasrc/model')
-rw-r--r--protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua b/protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua
index 4cda94c7d0..774c6db22b 100644
--- a/protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua
+++ b/protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua
@@ -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