bird1: fix "Form token mismatch" errors in luci-app-bird1-ipv{4,6}
authorRoger Pueyo Centelles <roger.pueyo@guifi.net>
Sun, 26 Feb 2023 16:18:19 +0000 (17:18 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Mon, 6 Mar 2023 20:13:32 +0000 (21:13 +0100)
commitc37fbab8f5e3af0843cf1bef5aa199a0c0db245b
tree739a67bbf3b67831bf8867144820021a43f63042
parentd32f93e0499164ac171228bbb6e8a5b17b8785fe
bird1: fix "Form token mismatch" errors in luci-app-bird1-ipv{4,6}

The "Filters", "Functions" and "Status" sections of the web interfaces
for both Bird4 and Bird6 threw the following error upon performing any
action:

   Form token mismatch
   The submitted security token is invalid or already expired!

Changing their entry types from "cbi" to "form" fixes them.

Fixes #922.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
bird1-openwrt/Makefile
bird1-openwrt/bird1-ipv4-openwrt/src/controller/bird4.lua
bird1-openwrt/bird1-ipv6-openwrt/src/controller/bird6.lua