summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Kerneis2014-06-01 13:15:10 +0000
committerGabriel Kerneis2014-06-01 13:15:10 +0000
commit6c4438c93bdcd2042bb1ee07c7ebca3b1ce226a8 (patch)
treeff309698d99638ed15b47d165a0f80fba4f20859
parentff3dddf2da7efbd25e7accc80366480cb3f39611 (diff)
downloadrouting-6c4438c93bdcd2042bb1ee07c7ebca3b1ce226a8.tar.gz
babeld: new upstream release 1.5.0
22 May 2014: babeld-1.5.0 * Added support for an RTT-based metric -- see the description of "enable-timestamps" in the manual page. This work was done by Baptiste Jonglez with help from Matthieu Boutier.
-rw-r--r--babeld/Makefile6
-rw-r--r--babeld/files/babeld.config6
-rwxr-xr-xbabeld/files/babeld.init5
3 files changed, 14 insertions, 3 deletions
diff --git a/babeld/Makefile b/babeld/Makefile
index d858ad6..d7a9ddc 100644
--- a/babeld/Makefile
+++ b/babeld/Makefile
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=babeld
-PKG_VERSION:=1.4.2
-PKG_RELEASE:=2
+PKG_VERSION:=1.5.0
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.pps.univ-paris-diderot.fr/~jch/software/files/
-PKG_MD5SUM:=a48e8129f221f66640ae1ccf73190991
+PKG_MD5SUM:=ac884beb644792bdb79f0042755820ee
include $(INCLUDE_DIR)/package.mk
diff --git a/babeld/files/babeld.config b/babeld/files/babeld.config
index a4f00e6..88fdf2d 100644
--- a/babeld/files/babeld.config
+++ b/babeld/files/babeld.config
@@ -49,6 +49,12 @@ config interface wlan
# packet loss is expected. The default is four times the hello
# interval.
## option 'update_interval' '16'
+ # Options to enable and configure RTT-based metric
+ ## option 'enable_timestamps' 'false'
+ ## option 'max_rtt_penalty' '0'
+ ## option 'rtt_decay' '42'
+ ## option 'rtt_min' '10'
+ ## option 'rtt_max' '120'
config interface lan
option 'ignore' 'true'
diff --git a/babeld/files/babeld.init b/babeld/files/babeld.init
index f2cf50a..0e1f039 100755
--- a/babeld/files/babeld.init
+++ b/babeld/files/babeld.init
@@ -93,6 +93,11 @@ babel_addif() {
append_parm "$cfg" 'rxcost' 'rxcost'
append_parm "$cfg" 'hello_interval' 'hello-interval'
append_parm "$cfg" 'update_interval' 'update-interval'
+ append_bool "$cfg" 'enable_timestamps' 'enable-timestamps'
+ append_parm "$cfg" 'max_rtt_penalty' 'max-rtt-penalty'
+ append_parm "$cfg" 'rtt_decay' 'rtt-decay'
+ append_parm "$cfg" 'rtt_min' 'rtt-min'
+ append_parm "$cfg" 'rtt_max' 'rtt-max'
append args ' ' "'"
}