batman-adv: fix metadata stripping
PATCH 1/1 batman-adv: fix metadata stripping
a new optimisation in openwrt is stripping some metadata information, invluding the module version which is used by batctl to tell the user which version batman-adv the node is currently running.
Un-define this constant to prevent the metadata from being stripped
Signed-off-by Antonio Quartulli <[email protected]>
--- main.h | 2 ++ 1 file changed, 2 insertions(+)
main.h +2 -0
@@ -20,6 +20,8 @@#ifndef _NET_BATMAN_ADV_MAIN_H_#define _NET_BATMAN_ADV_MAIN_H_ +#undef CONFIG_MODULE_STRIPPED +#define BATADV_DRIVER_AUTHOR "Marek Lindner <[email protected]>, " \ "Simon Wunderlich <[email protected]>"#define BATADV_DRIVER_DESC "B.A.T.M.A.N. advanced"
Signature · 1 line
1.8.1.5
Quoted 3 lines
Un-define this constant to prevent the metadata from being stripped
Signed-off-by Antonio Quartulli <[email protected]>
thank you - applied in 7936cfc9b862af3451dddd01e96501a38e6872be [email protected]:openwrt-routing/packages.git