Merge pull request #947 from danrl/proto-wireguard

luci-proto-wireguard: enable addressing for tunnel interfaces
This commit is contained in:
Daniel Dickinson 2017-01-16 09:39:55 -05:00 committed by GitHub
commit be28190838

View file

@ -1,4 +1,4 @@
-- Copyright 2016 Dan Luedtke <mail@danrl.com>
-- Copyright 2016-2017 Dan Luedtke <mail@danrl.com>
-- Licensed to the public under the Apache License 2.0.
@ -34,6 +34,16 @@ listen_port.datatype = "port"
listen_port.placeholder = "51820"
listen_port.optional = true
addresses = section:taboption(
"general",
DynamicList,
"addresses",
translate("IP Addresses"),
translate("Recommended. IP addresses of the WireGuard interface.")
)
addresses.datatype = "ipaddr"
addresses.optional = true
-- advanced --------------------------------------------------------------------