Merge pull request #1611 from squarewf/patch-1
authorJo-Philipp Wich <jo@mein.io>
Tue, 30 Jan 2018 16:34:50 +0000 (17:34 +0100)
committerGitHub <noreply@github.com>
Tue, 30 Jan 2018 16:34:50 +0000 (17:34 +0100)
Fix #1609: luci-proto-wireguard placeholder wrongfully suggests default port

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(