summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Barth2015-04-21 08:27:48 +0000
committerSteven Barth2015-04-21 08:27:48 +0000
commitb46e7f995f98cd8a669bbb08797ee5d7b9802fdb (patch)
treeb0e43152b856af359391a6b77832cdbb22fbab3f
parentdd10ecf06eaa0bfcaad8968014e403d0b447156b (diff)
downloadrouting-b46e7f995f98cd8a669bbb08797ee5d7b9802fdb.tar.gz
babels: bump and enable subtrees by default
Signed-off-by: Steven Barth <steven@midlink.org>
-rw-r--r--babels/Makefile4
-rw-r--r--babels/patches/0001-Allow-routes-with-source-128-for-SAS-on-Linux.patch8
-rw-r--r--babels/patches/0002-ipv6-subtrees-default-on.patch11
3 files changed, 17 insertions, 6 deletions
diff --git a/babels/Makefile b/babels/Makefile
index 164ff16..57b723d 100644
--- a/babels/Makefile
+++ b/babels/Makefile
@@ -8,8 +8,8 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=babels
-PKG_SOURCE_VERSION:=8950d3b2f9a4799f8435c7165998c638dd0a98a8
-PKG_VERSION:=2015-04-10-$(PKG_SOURCE_VERSION)
+PKG_SOURCE_VERSION:=1ba29b3e069908d41fd6e263d0d09cd5a551a644
+PKG_VERSION:=2015-04-14-$(PKG_SOURCE_VERSION)
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/jech/babeld.git
diff --git a/babels/patches/0001-Allow-routes-with-source-128-for-SAS-on-Linux.patch b/babels/patches/0001-Allow-routes-with-source-128-for-SAS-on-Linux.patch
index 7e9448c..ffcb987 100644
--- a/babels/patches/0001-Allow-routes-with-source-128-for-SAS-on-Linux.patch
+++ b/babels/patches/0001-Allow-routes-with-source-128-for-SAS-on-Linux.patch
@@ -24,7 +24,7 @@ Signed-off-by: Steven Barth <cyrus@openwrt.org>
--- a/kernel_netlink.c
+++ b/kernel_netlink.c
-@@ -1242,8 +1242,8 @@ filter_kernel_routes(struct nlmsghdr *nh
+@@ -1243,8 +1243,8 @@ filter_kernel_routes(struct nlmsghdr *nh
if(rc < 0)
return 0;
@@ -35,7 +35,7 @@ Signed-off-by: Steven Barth <cyrus@openwrt.org>
return 0;
/* Ignore default unreachable routes; no idea where they come from. */
-@@ -1944,7 +1944,7 @@ filter_kernel_rules(struct nlmsghdr *nh,
+@@ -1946,7 +1946,7 @@ filter_kernel_rules(struct nlmsghdr *nh,
kdebugf("filter_rules: from %s prio %d table %d\n",
format_prefix(src, src_plen), priority, table);
@@ -46,7 +46,7 @@ Signed-off-by: Steven Barth <cyrus@openwrt.org>
i = priority - src_table_prio;
--- a/route.c
+++ b/route.c
-@@ -901,12 +901,12 @@ update_route(const unsigned char *id,
+@@ -809,12 +809,12 @@ update_route(const unsigned char *id,
if(memcmp(id, myid, 8) == 0)
return NULL;
@@ -92,7 +92,7 @@ Signed-off-by: Steven Barth <cyrus@openwrt.org>
void v4tov6(unsigned char *dst, const unsigned char *src);
--- a/xroute.c
+++ b/xroute.c
-@@ -266,7 +266,7 @@ check_xroutes(int send_updates)
+@@ -264,7 +264,7 @@ check_xroutes(int send_updates)
/* Add any new routes */
for(i = 0; i < numroutes; i++) {
diff --git a/babels/patches/0002-ipv6-subtrees-default-on.patch b/babels/patches/0002-ipv6-subtrees-default-on.patch
new file mode 100644
index 0000000..0cad972
--- /dev/null
+++ b/babels/patches/0002-ipv6-subtrees-default-on.patch
@@ -0,0 +1,11 @@
+--- a/babeld.c
++++ b/babeld.c
+@@ -60,7 +60,7 @@ int debug = 0;
+
+ int link_detect = 0;
+ int all_wireless = 0;
+-int has_ipv6_subtrees = 0;
++int has_ipv6_subtrees = 1;
+ int default_wireless_hello_interval = -1;
+ int default_wired_hello_interval = -1;
+ int resend_delay = -1;