public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH openwrt-feed only] batman-adv: fix metadata stripping
@ 2013-09-06 13:14 Antonio Quartulli
  2013-09-06 13:52 ` Bastian Bittorf
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Quartulli @ 2013-09-06 13:14 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Antonio Quartulli

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 <ordex@autistici.org>
---
 main.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/main.h b/main.h
index 834b1a0..b329e79 100644
--- a/main.h
+++ b/main.h
@@ -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 <lindner_marek@yahoo.de>, " \
 			     "Simon Wunderlich <siwu@hrz.tu-chemnitz.de>"
 #define BATADV_DRIVER_DESC   "B.A.T.M.A.N. advanced"
-- 
1.8.1.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-06 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-06 13:14 [B.A.T.M.A.N.] [PATCH openwrt-feed only] batman-adv: fix metadata stripping Antonio Quartulli
2013-09-06 13:52 ` Bastian Bittorf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox