From 0f5933c38c54fe94bacf5656e57c47ad7f265ef6 Mon Sep 17 00:00:00 2001 From: kerneis Date: Mon, 8 Aug 2011 13:23:37 +0000 Subject: [PATCH] [package] babeld: upstream release 1.1.3 New option: -u (keep unfeasible routes), called "keep_unfeasible" in UCI. git-svn-id: svn://svn.openwrt.org/openwrt/packages@27933 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/babel/Makefile | 6 +++--- net/babel/files/babeld.config | 6 ++++-- net/babel/files/babeld.init | 1 + net/babel/patches/001-fix-local_notify_route.patch | 18 ------------------ 4 files changed, 8 insertions(+), 23 deletions(-) delete mode 100644 net/babel/patches/001-fix-local_notify_route.patch diff --git a/net/babel/Makefile b/net/babel/Makefile index 0eb8d2d74..41ef1dc92 100644 --- a/net/babel/Makefile +++ b/net/babel/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=babeld -PKG_VERSION:=1.1.0 -PKG_RELEASE:=3 +PKG_VERSION:=1.1.3 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.pps.jussieu.fr/~jch/software/files/ -PKG_MD5SUM:=0627cdc9a5ce77a032c4399c3fa64bd1 +PKG_MD5SUM:=673a813e7e8fe0818fbb062a896646d2 include $(INCLUDE_DIR)/package.mk diff --git a/net/babel/files/babeld.config b/net/babel/files/babeld.config index acc9e8a5a..52b583342 100644 --- a/net/babel/files/babeld.config +++ b/net/babel/files/babeld.config @@ -20,6 +20,8 @@ config general # option 'debug' '0' # Listen for connections from a front-end, e.g. on port 33123. ## option 'local_server' '33123' + # Keep unfeasible routes + ## option 'keep_unfeasible' 'false' # Use the given kernel routing table for routes inserted by babeld. ## option 'export_table' '0' # Export routes from the given kernel routing table. @@ -41,9 +43,9 @@ config interface wlan # option 'split_horizon' 'auto' # The default is 96 for wired interfaces, and 256 for wireless ones ## option 'rxcost' '256' - # The default is specified with the -h and -H command-line flags. + # The default is specified with the -h and -H command-line flags. ## option 'hello_interval' '4' - # This can be set to a fairly large value, unless significant + # This can be set to a fairly large value, unless significant # packet loss is expected. The default is four times the hello # interval. ## option 'update_interval' '16' diff --git a/net/babel/files/babeld.init b/net/babel/files/babeld.init index d6cd0d3af..3aeb7342f 100755 --- a/net/babel/files/babeld.init +++ b/net/babel/files/babeld.init @@ -109,6 +109,7 @@ babel_config() { append_parm "$cfg" 'duplication_priority' '-A' append_parm "$cfg" 'debug' '-d' append_parm "$cfg" 'local_server' '-g' + append_parm "$cfg" 'keep_unfeasible' '-u' append_parm "$cfg" 'export_table' '-t' append_parm "$cfg" 'import_table' '-T' append_parm "$cfg" 'conf_file' '-c' diff --git a/net/babel/patches/001-fix-local_notify_route.patch b/net/babel/patches/001-fix-local_notify_route.patch deleted file mode 100644 index 0a52c5e11..000000000 --- a/net/babel/patches/001-fix-local_notify_route.patch +++ /dev/null @@ -1,18 +0,0 @@ -Sat Mar 5 19:13:54 CET 2011 Gabriel Kerneis - * Fix unique id in local_notify_route -diff -rN -u old-babeld/local.c new-babeld/local.c ---- old-babeld/local.c 2011-03-14 14:37:03.000000000 +0100 -+++ new-babeld/local.c 2011-03-14 14:37:03.000000000 +0100 -@@ -197,11 +197,10 @@ - return; - - rc = snprintf(buf, 512, -- "%s route %s-%s-%lx prefix %s installed %s " -+ "%s route %s-%lx prefix %s installed %s " - "id %s metric %d refmetric %d via %s if %s\n", - local_kind(kind), - format_prefix(route->src->prefix, route->src->plen), -- format_eui64(route->src->id), - (unsigned long)route->neigh, - format_prefix(route->src->prefix, route->src->plen), - route->installed ? "yes" : "no", -- 2.11.0