luci-proto-wireguard: add support for fwmark option 1039/head
authordanrl <mail@danrl.com>
Fri, 24 Feb 2017 14:03:11 +0000 (15:03 +0100)
committerdanrl <mail@danrl.com>
Mon, 27 Feb 2017 19:48:46 +0000 (20:48 +0100)
commitcd8333cf0b90c6498366c993f8135dbd29cd6000
tree229557137a0c6ad13306fddb54f8db1da30f3db3
parent09353ff64059b82f5ce2fab330a036e448b4a075
luci-proto-wireguard: add support for fwmark option

Adds support for the fwmark option.

FwMark is a 32-bit fwmark for outgoing packets.
If set to 0 or "off", this option is disabled.

Signed-off-by: Dan Luedtke <mail@danrl.com>
modules/luci-base/luasrc/cbi/datatypes.lua
protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua