luci-proto-vxlan: fix option name: vxlan_peers to vxlan_peer
authorSergey Ponomarev <[email protected]>
Sat, 22 Feb 2025 22:17:19 +0000 (00:17 +0200)
committerPaul Donald <[email protected]>
Mon, 24 Nov 2025 01:18:24 +0000 (02:18 +0100)
Signed-off-by: Sergey Ponomarev <[email protected]>
(cherry picked from commit cbd37919aef5d895f10a90a35fb1a18610792bfb)

protocols/luci-proto-vxlan/htdocs/luci-static/resources/protocol/vxlan.js

index 67ddfab6be92c099f9a6c462ba427a2cf3cf3e87..16e5498ce875338f3fe5398508d1ecf314122867 100644 (file)
@@ -179,7 +179,7 @@ return network.registerProtocol('vxlan', {
                }
                catch(e) {}
 
-               o = s.taboption('peers', form.SectionValue, '_peers', form.GridSection, 'vxlan_peers');
+               o = s.taboption('peers', form.SectionValue, '_peers', form.GridSection, 'vxlan_peer');
                o.depends('proto', 'vxlan');
 
                var ss = o.subsection;