From b46e7f995f98cd8a669bbb08797ee5d7b9802fdb Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 21 Apr 2015 10:27:48 +0200 Subject: [PATCH] babels: bump and enable subtrees by default Signed-off-by: Steven Barth --- babels/Makefile | 4 ++-- ...llow-routes-with-source-128-for-SAS-on-Linux.patch | 8 ++++---- babels/patches/0002-ipv6-subtrees-default-on.patch | 11 +++++++++++ 3 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 babels/patches/0002-ipv6-subtrees-default-on.patch 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 --- 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 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 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 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;