Merge pull request #1611 from squarewf/patch-1

Fix #1609: luci-proto-wireguard placeholder wrongfully suggests default port
This commit is contained in:
Jo-Philipp Wich 2018-01-30 17:34:50 +01:00 committed by GitHub
commit 47d1eaaf30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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(