batman-adv: update package to latest release (2010.2.0)
authorMarek Lindner <lindner_marek@yahoo.de>
Mon, 22 Nov 2010 01:56:39 +0000 (01:56 +0000)
committerMarek Lindner <lindner_marek@yahoo.de>
Mon, 22 Nov 2010 01:56:39 +0000 (01:56 +0000)
SVN-Revision: 24075

net/batman-advanced/Makefile
net/batman-advanced/files/etc/config/batman-adv
net/batman-advanced/files/etc/init.d/batman-adv

index 9b20d21401ef3925183fd90c35ffdaf7e0e7c0b0..7a6cd7b87cde2a64094d9e2ce349ecd5a9ccb6b3 100644 (file)
@@ -10,9 +10,9 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=batman-adv
 
-PKG_VERSION:=2010.1.0
-PKG_MD5SUM:=81aef7e965b516d5ba75f92b0039ddd1
-BATCTL_MD5SUM:=ae1996621d0d72c0822d33a463cdaf70
+PKG_VERSION:=2010.2.0
+PKG_MD5SUM:=c233f06bd94432d7697ad78241e8bdd6
+BATCTL_MD5SUM:=f16d7332576c7b4fc9f8a37add235225
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://downloads.open-mesh.org/batman/releases/batman-adv-$(PKG_VERSION)
index 886fdb91c11b843b027c9dd34a9297ad11c8b10e..dbce507d073760a25a6a5917400ab022b9b06acb 100644 (file)
@@ -5,4 +5,5 @@ config 'mesh' 'bat0'
        option 'log_level'
        option 'aggregated_ogms'
        option 'bonding'
+       option 'fragmentation'
        option 'vis_mode'
index a08b21e7837c5223485c63dac62a686365e4ed50..120413d1e04a83029203731a62c72134a1b73231 100644 (file)
@@ -13,7 +13,7 @@ is_module_loaded() {
 
 start_mesh () {
        local meshif="$1"
-       local interfaces orig_interval log_level aggregated_ogms bonding vis_mode
+       local interfaces orig_interval log_level aggregated_ogms bonding fragmentation vis_mode
 
        is_module_loaded
        [ $? -ne 1 ] && return
@@ -23,6 +23,7 @@ start_mesh () {
        config_get log_level "$meshif" log_level
        config_get aggregated_ogms "$meshif" aggregated_ogms
        config_get bonding "$meshif" bonding
+       config_get fragmentation "$meshif" fragmentation
        config_get vis_mode "$meshif" vis_mode
 
        if [ "$interfaces" = "" ]; then
@@ -51,6 +52,10 @@ start_mesh () {
        if [ $bonding ]; then
                echo $bonding > /sys/class/net/$meshif/mesh/bonding
        fi
+       
+       if [ $fragmentation ]; then
+               echo $fragmentation > /sys/class/net/$meshif/mesh/fragmentation
+       fi
 
        if [ $vis_mode ]; then
                echo $vis_mode > /sys/class/net/$meshif/mesh/vis_mode