From 3bfc32f54112a8538d03ded7ff48fb772965a55e Mon Sep 17 00:00:00 2001 From: danrl Date: Thu, 1 Dec 2016 09:01:35 +0100 Subject: 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 --- .../luasrc/model/cbi/admin_network/proto_wireguard.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/luci-proto-wireguard/luasrc') 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 -- cgit v1.2.3