From: square.wf <30551458+squarewf@users.noreply.github.com> Date: Tue, 30 Jan 2018 14:38:31 +0000 (+0100) Subject: Fix #1609: luci-proto-wireguard placeholder wrongfully suggests default port X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F1611%2Fhead;p=oweals%2Fluci.git Fix #1609: luci-proto-wireguard placeholder wrongfully suggests default port --- 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 fa0db3412..46a8f49d9 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(