From: danrl Date: Thu, 1 Dec 2016 08:01:35 +0000 (+0100) Subject: luci-proto-wireguard: Fix misleading description X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3bfc32f54112a8538d03ded7ff48fb772965a55e;p=project%2Fluci.git 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 --- 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