luci-proto-wireguard: fix broken DNS option in peer config generator
authorJo-Philipp Wich <jo@mein.io>
Fri, 16 Feb 2024 15:17:26 +0000 (16:17 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 16 Feb 2024 15:17:26 +0000 (16:17 +0100)
commite28f9a0491f5f50a70bbefb1720ff8241f456f83
treed605356e11ae6076158fc0960bf113184645bfee
parent5b955f1ae922e37ec6bc07599d547aa9c3a5ebf1
luci-proto-wireguard: fix broken DNS option in peer config generator

The config generation code was referencing a not existing `dns_servers`
input field.

Fixes: #6921
Fixes: 5b26887c52 ("Adding a DNS option to the wireguard peer config ...")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js