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 9b20d21..7a6cd7b 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 886fdb9..dbce507 100644 (file)
@@ -5,4 +5,5 @@ config 'mesh' 'bat0'
        option 'log_level'
        option 'aggregated_ogms'
        option 'bonding'
+       option 'fragmentation'
        option 'vis_mode'
index a08b21e..120413d 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