From: Bastian Bittorf Date: Fri, 6 Sep 2013 13:37:33 +0000 (+0200) Subject: a new optimisation in openwrt is stripping some metadata information, invluding X-Git-Url: http://git.openwrt.org/?p=feed%2Frouting.git;a=commitdiff_plain;h=7936cfc9b862af3451dddd01e96501a38e6872be 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 --- diff --git a/batman-adv/patches/0001-batman-adv-avoid-openwrt_metadata_stripping b/batman-adv/patches/0001-batman-adv-avoid-openwrt_metadata_stripping new file mode 100644 index 0000000..c7785c3 --- /dev/null +++ b/batman-adv/patches/0001-batman-adv-avoid-openwrt_metadata_stripping @@ -0,0 +1,25 @@ +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 +--- + 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 , " "Simon Wunderlich " + #define BATADV_DRIVER_DESC "B.A.T.M.A.N. advanced" +-- +1.8.1.5