batman-adv: Provide teardown hook for batadv_vlan proto 1045/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 08:04:42 +0000 (09:04 +0100)
commit9090aefa69e51564a396c469d753cad4a10bf3d9
tree47b91b5a3d932b719bc16e2f857fd6ec0f7acd8f
parent6a7a1a5dab533e1b3a3616275e22a3e3ee15ed54
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