Fix #1609: luci-proto-wireguard placeholder wrongfully suggests default port 1611/head
authorsquare.wf <30551458+squarewf@users.noreply.github.com>
Tue, 30 Jan 2018 14:38:31 +0000 (15:38 +0100)
committerGitHub <noreply@github.com>
Tue, 30 Jan 2018 14:38:31 +0000 (15:38 +0100)
protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua

index fa0db3412e38e16c502b9f5d4af11bbc386d2022..46a8f49d976b7b187b9192a88486f17e99e9aabb 100644 (file)
@@ -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(