summaryrefslogtreecommitdiffhomepage
path: root/protocols
diff options
context:
space:
mode:
authorsquare.wf <30551458+squarewf@users.noreply.github.com>2018-01-30 15:38:31 +0100
committerGitHub <noreply@github.com>2018-01-30 15:38:31 +0100
commit43589ae4d81ca0fc34ca7bfeaa2cd9280f3c5800 (patch)
treeacecdb08f1cc390c7572d9f515cc6a6cbfa98e4d /protocols
parentb673db891c4a8154197a3d5d000e1b9d507c84ca (diff)
Fix #1609: luci-proto-wireguard placeholder wrongfully suggests default port
Diffstat (limited to 'protocols')
-rw-r--r--protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua2
1 files changed, 1 insertions, 1 deletions
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(