a new optimisation in openwrt is stripping some metadata information, invluding
[feed/routing.git] / batman-adv / patches / 0001-batman-adv-avoid-openwrt_metadata_stripping
1 a new optimisation in openwrt is stripping some metadata information, invluding
2 the module version which is used by batctl to tell the user which version
3 batman-adv the node is currently running.
4
5 Un-define this constant to prevent the metadata from being stripped
6
7 Signed-off-by: Antonio Quartulli <ordex at autistici.org>
8 ---
9 main.h | 2 ++
10 1 file changed, 2 insertions(+)
11
12 diff --git a/main.h b/main.h
13 index 834b1a0..b329e79 100644
14 --- a/main.h
15 +++ b/main.h
16 @@ -20,6 +20,8 @@
17 #ifndef _NET_BATMAN_ADV_MAIN_H_
18 #define _NET_BATMAN_ADV_MAIN_H_
19
20 +#undef CONFIG_MODULE_STRIPPED
21 +
22 #define BATADV_DRIVER_AUTHOR "Marek Lindner <lindner_marek at yahoo.de>, " "Simon Wunderlich <siwu at hrz.tu-chemnitz.de>"
23 #define BATADV_DRIVER_DESC "B.A.T.M.A.N. advanced"
24 --
25 1.8.1.5