<feed xmlns='http://www.w3.org/2005/Atom'>
<title>routing/babeld/src, branch master</title>
<subtitle>Mirror of routing feed</subtitle>
<id>https://git.openwrt.org/feed/routing/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/routing/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/'/>
<updated>2024-09-08T16:20:34Z</updated>
<entry>
<title>babeld: use an array for routing lists</title>
<updated>2024-09-08T16:20:34Z</updated>
<author>
<name>Patrick Grimm</name>
</author>
<published>2024-08-25T13:48:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/commit/?id=233b3c66374ab4cc3a616a12125d9a55af08f2d6'/>
<id>urn:sha1:233b3c66374ab4cc3a616a12125d9a55af08f2d6</id>
<content type='text'>
use underscore in key name for libubox/jshn.sh compat

Fix: openwrt/luci/issues/6342
Fix: openwrt/routing/issues/966

Signed-off-by: Patrick Grimm &lt;patrick@lunatiki.de&gt;
</content>
</entry>
<entry>
<title>babeld: update to 1.13</title>
<updated>2023-07-18T22:48:52Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2023-07-18T21:32:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/commit/?id=9e13652bbf0ff9333465c38308850389c55936da'/>
<id>urn:sha1:9e13652bbf0ff9333465c38308850389c55936da</id>
<content type='text'>
Announcement:
https://alioth-lists.debian.net/pipermail/babel-users/2023-July/004100.html

Babeld removed diversity routing [0], so we need to adjust ubus
bindings. Further. we need to add a patch that makes local_kind
accessible again: "100-local-make-local_kind-function-accessible.patch"

Refresh patches:
- 600-add-ubus.patch

[0] - https://github.com/jech/babeld/commit/a0816083356e5d33fb71e0e30d92aa3bf335d7ea

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>babeld: add add_filter function</title>
<updated>2022-03-30T10:32:55Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-03-27T22:04:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/commit/?id=a618159d33e02e9a295388e605447993eca11e52'/>
<id>urn:sha1:a618159d33e02e9a295388e605447993eca11e52</id>
<content type='text'>
You can define filter functions in babeld by:

   in if eth0 metric 128

This commit adds the ubus equivalent to dynamically add filter on
runtime:

  ubus call babeld add_filter '{"ifname":"eth0", "type":"input",
                                "metric":128}'

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>babeld: remove unused return variable</title>
<updated>2022-02-01T19:37:25Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-02-01T19:12:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/commit/?id=879725ce3e2e6e48bbcfed7380ecf3f59cb58edd'/>
<id>urn:sha1:879725ce3e2e6e48bbcfed7380ecf3f59cb58edd</id>
<content type='text'>
There is an unused variable in the function. Remove it.

Fixes: 385200443554 ("babeld: add add_interface function").

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>babeld: add add_interface function</title>
<updated>2022-02-01T19:05:53Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-31T22:14:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/commit/?id=385200443554ab87e0205f5551f7a0c1883da776'/>
<id>urn:sha1:385200443554ab87e0205f5551f7a0c1883da776</id>
<content type='text'>
An interface can be added dynmiacally to babeld by starting babeld with
the local management interface (-G) and saying:
  interface eth0

Add the ubus equivalent of this function:
  ubus call babeld add_interface '{"ifname":"eth0"}'

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>babeld: remove unnecessray blob_buf_init calls</title>
<updated>2021-10-16T08:48:38Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2021-10-16T07:35:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/commit/?id=2cf253b3df2db7830692de645504db294151e5ab'/>
<id>urn:sha1:2cf253b3df2db7830692de645504db294151e5ab</id>
<content type='text'>
For some reason the buffer is initialized twice before filling it.
This does not break anything but is useless. Reduce the initialization
to only one.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>babeld: free blob-buffers that are on stack</title>
<updated>2021-10-16T07:29:07Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2021-10-13T05:57:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/commit/?id=6d463ca97cf329fe5b7bb29ff5581076ff7245f9'/>
<id>urn:sha1:6d463ca97cf329fe5b7bb29ff5581076ff7245f9</id>
<content type='text'>
As Felix mentioned:
If a buffer was already allocated, blob_buf_init reuses it. You can
keep reusing it as many times as you want. You only need to call
blob_buf_free if you explicitly want to free the buffer memory
(e.g. on exit, or if the blob_buf is on stack).

http://lists.openwrt.org/pipermail/openwrt-devel/2021-October/036722.html

This PR frees the blob-buffers that are on the stack.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>babeld: update to 1.10</title>
<updated>2021-06-02T19:24:13Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2021-05-29T17:17:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/commit/?id=dc22d38f919a58f90deaea52241c459699af788e'/>
<id>urn:sha1:dc22d38f919a58f90deaea52241c459699af788e</id>
<content type='text'>
25 April 2021: babeld-1.10
  * Removed the disambiguation code: source-specific routing is no longer
    supported for IPv4, and for IPv6 only on Linux 3.11 or later.
  * Fixed an issue handling of retractions with no next hop, which caused
    interoperability problems with BIRD.  Thanks to Fabian Bläse.
  * If skip-kernel-setup is set, we no longer disable the rp_filter, which
    makes babeld work in containers.  Thanks to Martin Weinelt.

Remove upstreamed part of ubus patch:
-  local: make local_kind function accessible

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>babeld: adopt to upstream header-style (#640)</title>
<updated>2021-02-09T21:51:39Z</updated>
<author>
<name>Polynomdivision</name>
</author>
<published>2021-02-09T21:51:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/commit/?id=86991248ac681124566bceeea97c5ea1123dd272'/>
<id>urn:sha1:86991248ac681124566bceeea97c5ea1123dd272</id>
<content type='text'>
babeld: adopt to upstream header-style

Instead of including the headerfiles that define the structs, we add
forward definitions to our headerfile.

Fixes warning:

ubus.h:67:32: warning: 'struct xroute' declared inside parameter list will not be visible outside of this definition or declaration
 void ubus_notify_xroute(struct xroute *xroute, int kind);
                                ^~~~~~
Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;</content>
</entry>
<entry>
<title>babeld: fix compiler warnings (#639)</title>
<updated>2021-02-01T19:40:17Z</updated>
<author>
<name>Polynomdivision</name>
</author>
<published>2021-02-01T19:40:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/commit/?id=72408a9cf8ce24066f3b091b8e9f1c50df6ea0b2'/>
<id>urn:sha1:72408a9cf8ce24066f3b091b8e9f1c50df6ea0b2</id>
<content type='text'>
babeld: fix compiler warnings

Fixes:
- "route_list_entry" points to "struct babel_route"
- "format_thousands" returns a string pointer
- "UBUS_METHOD_NOARG" wants a function returning an integer

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;</content>
</entry>
</feed>
