<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/babeld, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-10-11T13:56:41Z</updated>
<entry>
<title>babeld: fix issues in the ubus bindings and the init script</title>
<updated>2026-10-11T13:56:41Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2026-10-07T15:42:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=8b437684c720c31c177f1544b5be735b62bac29d'/>
<id>urn:sha1:8b437684c720c31c177f1544b5be735b62bac29d</id>
<content type='text'>
Fix the issues the Copilot review found in the code moved from the
routing feed:

- The init script wrote "option ignore '0'" of an interface section as
  "interface &lt;dev&gt; ignore false" into the babeld configuration, which
  babeld rejects. Skip the option like ifname.
- The handlers of get_xroutes, get_routes and get_neighbours didn't
  check their allocations. Free the collected entries and return an
  error instead of crashing.
- add_filter allocated and returned success for an invalid filter type
  and leaked the filter. Reject the type before the allocation, and
  handle a failure of strdup() and add_filter().
- babeld doesn't use uloop, so the default handler of libubus did
  nothing when ubusd restarted. The stale socket stayed readable and
  babeld spun in its select loop, and the babeld object was never
  added again. Reconnect from the main loop instead, waiting longer
  after each failed attempt, up to 32 seconds. ubus_reconnect() adds
  the object again.
- The notifications used the helpers for array elements, so their
  fields were in an unnamed table. Put them at the root of the message.
- Neighbour notifications were named neigh.*, while ubus.h documents
  neighbour.*. Use the documented names.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>babeld: initialize metric in the ubus add_filter handler</title>
<updated>2026-10-11T13:56:41Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T10:36:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=be08967b42758de887aa59f18b1aa7190584f2f2'/>
<id>urn:sha1:be08967b42758de887aa59f18b1aa7190584f2f2</id>
<content type='text'>
The metric is optional in filter_policy: only ifname and type are
rejected when missing, so `ubus call babeld add_filter
'{"ifname":"eth0","type":0}'` reaches

    filter-&gt;action.add_metric = metric;

with metric never assigned, i.e. whatever was left on the stack. In
babeld an add_metric of INFINITY means "deny", so an uninitialized
read can silently turn an allow filter into a deny filter.

Initialize it to 0, which is the neutral value the filter would have
had if the caller had passed it explicitly.

Reported-by: openwrt-ai[bot]
Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Co-authored-by: Claude Fable 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>babeld: add new package</title>
<updated>2026-10-11T13:56:41Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T08:08:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=6b9ae23b8764bdf1490148ba256d6974e7bd50ec'/>
<id>urn:sha1:6b9ae23b8764bdf1490148ba256d6974e7bd50ec</id>
<content type='text'>
Babel is a loop-avoiding distance-vector routing protocol for
IPv6 and IPv4 with fast convergence properties (RFC 8966).

Moved from the openwrt/routing feed, as discussed in
https://github.com/openwrt/routing/issues/184.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Co-authored-by: Claude Fable 5 &lt;noreply@anthropic.com&gt;
[fix the default conf_dir in babeld.config and the indentation of the
 lines 600-add-ubus.patch adds to local.c, as suggested in the review]
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
</feed>
