batman-adv: Provide teardown hook for batadv_vlan proto 1046/head
authorSven Eckelmann <sven@narfation.org>
Mon, 5 Feb 2024 07:52:23 +0000 (08:52 +0100)
committerSven Eckelmann <sven@narfation.org>
Mon, 5 Feb 2024 07:58:48 +0000 (08:58 +0100)
commit5a7cac9b4ecf78c686fd2afeacec591cecf60a6b
tree5765496ccf17d6e4e3dbfc1fa81e228dca6514be
parent75e1614d06097cf04b77838b54e3c4c91e138289
batman-adv: Provide teardown hook for batadv_vlan proto

The batadv_vlan proto doesn't need to do anything when it gets teared down.
But the scripts are still trying to call the teardown function of this
proto. This results in warnings like:

    daemon.notice netifd: batmesh1 (18940): ./batadv_vlan.sh: eval: line 37: proto_batadv_vlan_teardown: not found

Just providing a stub function avoids this log spam.

Fixes: #1044
Reported-by: Rani Hod <rani.hod@gmail.com>
Fixes: f5205d7d2434 ("batman-adv: upgrade package to latest release 2014.2.0")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
batman-adv/Makefile
batman-adv/files/lib/netifd/proto/batadv_vlan.sh