luci-proto-vxlan: fix option name: vxlan_peers to vxlan_peer
authorSergey Ponomarev <stokito@gmail.com>
Sat, 22 Feb 2025 22:17:19 +0000 (00:17 +0200)
committerPaul Donald <newtwen+github@gmail.com>
Sun, 23 Feb 2025 05:19:10 +0000 (23:19 -0600)
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
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;