From 43589ae4d81ca0fc34ca7bfeaa2cd9280f3c5800 Mon Sep 17 00:00:00 2001 From: "square.wf" <30551458+squarewf@users.noreply.github.com> Date: Tue, 30 Jan 2018 15:38:31 +0100 Subject: Fix #1609: luci-proto-wireguard placeholder wrongfully suggests default port --- .../luasrc/model/cbi/admin_network/proto_wireguard.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/luci-proto-wireguard/luasrc/model') 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 fa0db3412e..46a8f49d97 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 @@ -31,7 +31,7 @@ listen_port = section:taboption( translate("Optional. UDP port used for outgoing and incoming packets.") ) listen_port.datatype = "port" -listen_port.placeholder = "51820" +listen_port.placeholder = translate("random") listen_port.optional = true addresses = section:taboption( -- cgit v1.2.3