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