<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/olsrd/Makefile, 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-11T17:56:40Z</updated>
<entry>
<title>olsrd: ubus: forget an interface that is already gone</title>
<updated>2026-10-11T17:56:40Z</updated>
<author>
<name>Simon Polack</name>
</author>
<published>2026-10-11T12:04:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=40d387f979dbb10174c05248024fc02b49d77ac7'/>
<id>urn:sha1:40d387f979dbb10174c05248024fc02b49d77ac7</id>
<content type='text'>
del_interface looked for the active interface (if_ifwithname) and
answered "Permission denied" when there was none. That is the normal
case when it is called from a hotplug "remove" event: the device is
gone, olsrd has seen the link go away and has taken the active
interface down by itself. The configured entry stayed in
olsr_cnf-&gt;interfaces for good.

olsrd looks at every configured interface that is not up every
NicChgsPollInt seconds (2.5 by default) with ioctl(SIOCGIFFLAGS). For a
name that does not exist, the kernel tries to load a module for it
(dev_load), twice: "netdev-&lt;name&gt;" and "&lt;name&gt;". On OpenWrt each of
these is a run of kmodloader over all modules.

A gateway with wireguard tunnels that come and go collects one such
entry per tunnel. On an EdgeRouter 4 after 24 days there were 12 of
them: 16 to 19 process starts per second, 38 million since boot, about
half of one of its four cores.

Look for the configured entry instead, take it out of the list, and
only take the interface down if it is up. An unknown name is now "Not
found".

Tested on OpenWrt 25.12 (x86_64, in a container): removing an interface
that vanished before, one that is up, an unknown one, two vanished ones
in the other order, and adding one again. The same change has been
running on an EdgeRouter 4 (mips64) gateway.

Signed-off-by: Simon Polack &lt;spolack+git@mailbox.org&gt;
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>olsrd: report the packaged version in the binary</title>
<updated>2026-08-13T21:21:19Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T12:21:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=9c79e6bed31119abc517612ddb8a35af616b0d35'/>
<id>urn:sha1:9c79e6bed31119abc517612ddb8a35af616b0d35</id>
<content type='text'>
olsrd builds its version banner from the VERS make variable, which
defaults to the upstream development version "pre-0.9.9", so
`olsrd -v` never mentioned the version the package was built from.
The source tarball carries no git metadata either, so the git hash
in that string is always zero:

    olsr.org - pre-0.9.9-git_0000000-hash_5fd8976...

Pass PKG_VERSION as VERS, the same way alfred and batctl already
pass REVISION, so the banner identifies the packaged revision. This
also lets test-version.sh check the real version instead of merely
confirming that the binary starts.

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>olsrd: add missing jshn dependency to olsrd-utils</title>
<updated>2026-08-13T21:21:19Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T10:39:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=d4c843ea2fd80a91ba736b556750aac829130b8d'/>
<id>urn:sha1:d4c843ea2fd80a91ba736b556750aac829130b8d</id>
<content type='text'>
The only file shipped by olsrd-utils is olsrd-neigh.sh, which
sources /usr/share/libubox/jshn.sh on its third line. That file
belongs to the jshn package, which is not pulled in by the
olsrd -&gt; libubus -&gt; libubox dependency chain, so on a minimal image
the utility fails immediately with "not found".

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>olsrd: add new package</title>
<updated>2026-08-13T21:21:19Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T08:08:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=1d86a8fffc63e28b8f1ccd565dce933b5ff21e86'/>
<id>urn:sha1:1d86a8fffc63e28b8f1ccd565dce933b5ff21e86</id>
<content type='text'>
olsrd is the olsr.org implementation of the Optimized Link
State Routing protocol, together with its plugins packaged as
olsrd-mod-* subpackages.

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;
</content>
</entry>
</feed>
