luci-mod-network: fix potential null dereference on deleting VLANs
authorJo-Philipp Wich <jo@mein.io>
Sat, 20 Apr 2024 21:13:12 +0000 (23:13 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 20 Apr 2024 21:15:11 +0000 (23:15 +0200)
commitff6b2751c6432b75f2fa51976082c8084e0934aa
tree4b4571189fc1bbf3c7e1075ee0595195098c227b
parent2b8fe7c42bb59f2faed1badeca52ef3320fda3f2
luci-mod-network: fix potential null dereference on deleting VLANs

Fixes: #7074
Fixes: 61cef9baad ("luci-mod-network: don't trigger uci save on removing bridge vlans")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit ea04003657cc06ee69639aaede24b4c74071946c)
modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js