batman-adv: Provide teardown hook for batadv_vlan proto 1047/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:59:01 +0000 (08:59 +0100)
commit03b4663bcec106563a5f6cbf041e61626b03fb27
treea347297a0789a8588552744fb18546018a055103
parent056013fbd9cf3aae207f2fbf8d23d04b39afce91
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