<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/mwan3/files/lib, 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-23T09:06:32Z</updated>
<entry>
<title>mwan3: normalize expanded nexthop routes in 2.12.5</title>
<updated>2026-10-23T09:06:32Z</updated>
<author>
<name>Yuen Su</name>
</author>
<published>2026-10-19T14:19:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=0768b24fe7a0c615e4508146ec3010213254cb7c'/>
<id>urn:sha1:0768b24fe7a0c615e4508146ec3010213254cb7c</id>
<content type='text'>
The kernel's nexthop compatibility dump contains both nhid and its
expanded via/dev fields. Replaying both makes iproute2 reject the route.
Remove the redundant ID from expanded routes, keeping ID-only routes
and other attributes intact.

Cover the parser cases in the existing package test.sh and bump the
package version.

Fixes: #27066
Signed-off-by: Yuen Su &lt;zypulsecore@gmail.com&gt;
</content>
</entry>
<entry>
<title>mwan3: fix delegated IPv6 source selection in 2.12.4</title>
<updated>2026-10-22T06:18:03Z</updated>
<author>
<name>Yuen Su</name>
</author>
<published>2026-10-19T14:19:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=e8167e9c2a5e199bb3db6bdd2f5a6504609640a9'/>
<id>urn:sha1:e8167e9c2a5e199bb3db6bdd2f5a6504609640a9</id>
<content type='text'>
The textual prefix fallback can truncate addresses containing 7-9 and
select an address outside the delegated network. Use ip's existing CIDR
filter to select an assigned global address within the delegated prefix.
Preserve direct netifd addresses and existing non-PD fallbacks.

Add regression cases to test.sh and bump the package version.

Fixes: 75a96faba764 ("mwan3: common.sh: fix src_ip detection for ipv6-PD")
Signed-off-by: Yuen Su &lt;zypulsecore@gmail.com&gt;
</content>
</entry>
<entry>
<title>mwan3: strip dead flag from copied routes</title>
<updated>2026-10-05T09:19:19Z</updated>
<author>
<name>Gleb Pesin</name>
</author>
<published>2026-08-27T11:52:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=f626f9c5025b118c069a3b867c6443b65f3cb462'/>
<id>urn:sha1:f626f9c5025b118c069a3b867c6443b65f3cb462</id>
<content type='text'>
The kernel marks routes using no-carrier devices as dead linkdown. mwan3
strips linkdown but passes dead to ip route, which rejects the copied route
and leaves policy tables incomplete.

Strip both flags, including at end of line, and add a runtime test.

Signed-off-by: Gleb Pesin &lt;dormancygrace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mwan3: add log message if l3 interface is not up</title>
<updated>2026-07-07T06:03:02Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2026-06-09T11:38:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=583036ad176d643d0d108600797c87558da26b4c'/>
<id>urn:sha1:583036ad176d643d0d108600797c87558da26b4c</id>
<content type='text'>
Add log message.

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>mwan3: common.sh: fix src_ip detection for ipv6-PD</title>
<updated>2025-09-03T13:42:20Z</updated>
<author>
<name>Fabian Groffen</name>
</author>
<published>2025-09-02T11:20:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=47fd548a71332ad253a8ddbf3b0b2f7975714647'/>
<id>urn:sha1:47fd548a71332ad253a8ddbf3b0b2f7975714647</id>
<content type='text'>
IPv6 via PPPoE often receives a prefix, not an address. In that case
mwan3_get_src_ip would not find an address and fall back to ::.  However
in case of multiple IPv6 upstreams, this no longer means a ping (such as
done by uptime check) succeeds, for there are multiple addresses.

With this, mwan3 can effectively load-balance/fail-over on a PPPoE IPv6
prefix and a secondary (LTE) acquired /64 without immediately disabling
the IPv6 prefix interface as soon as the secondary IPv6 interface comes
up.

I think this change is also a fix to #26690
but I'm not 100% sure of that.

Signed-off-by: Fabian Groffen &lt;grobian@bitzolder.nl&gt;
</content>
</entry>
<entry>
<title>mwan3: common.sh: fix sed syntax for GNU sed</title>
<updated>2025-09-03T13:42:20Z</updated>
<author>
<name>Fabian Groffen</name>
</author>
<published>2025-09-02T11:19:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=f933e028f502e9fc5c6bbf1176057253dd02a4e9'/>
<id>urn:sha1:f933e028f502e9fc5c6bbf1176057253dd02a4e9</id>
<content type='text'>
`pq' yields with GNU sed:
  sed: -e expression #1, char 15: extra characters after command
so, make q a separate command instead.

busybox accepts this too, and still returns only the first match (q
quits processing)

Signed-off-by: Fabian Groffen &lt;grobian@bitzolder.nl&gt;
</content>
</entry>
<entry>
<title>mwan3: return via variable</title>
<updated>2025-08-01T11:03:01Z</updated>
<author>
<name>Etienne Champetier</name>
</author>
<published>2025-06-27T23:18:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=a6a7f0b21b0d5e954119dfa19cde1967dd07a617'/>
<id>urn:sha1:a6a7f0b21b0d5e954119dfa19cde1967dd07a617</id>
<content type='text'>
Using $(...) to call an internal function causes a fork().
Pass the name of the return variable as first parameter,
and write to it using 'export -n'.

Signed-off-by: Etienne Champetier &lt;champetier.etienne@gmail.com&gt;
</content>
</entry>
<entry>
<title>mwan3: replace $(cat ..) with readfile</title>
<updated>2025-08-01T11:03:01Z</updated>
<author>
<name>Etienne Champetier</name>
</author>
<published>2025-06-27T23:18:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ecd2470ddb0c3e2b3cf6acf2ef5ceb78e3fdfe14'/>
<id>urn:sha1:ecd2470ddb0c3e2b3cf6acf2ef5ceb78e3fdfe14</id>
<content type='text'>
Remove a fork+exec

Signed-off-by: Etienne Champetier &lt;champetier.etienne@gmail.com&gt;
</content>
</entry>
<entry>
<title>mwan3: remove pgrep usage</title>
<updated>2025-08-01T11:03:01Z</updated>
<author>
<name>Etienne Champetier</name>
</author>
<published>2025-06-27T23:18:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=de98fdebefd8ff36f605c02395244ff237290569'/>
<id>urn:sha1:de98fdebefd8ff36f605c02395244ff237290569</id>
<content type='text'>
pgrep is pretty slow as it needs to read all /proc/*/cmdline
or /proc/*/status, and it's called twice per wan.
Add STARTED and PID files to speedup mwan3_get_mwan3track_status().

Signed-off-by: Etienne Champetier &lt;champetier.etienne@gmail.com&gt;
</content>
</entry>
<entry>
<title>mwan3: add new readfile function to speedup variable read from file</title>
<updated>2025-08-01T11:03:01Z</updated>
<author>
<name>Etienne Champetier</name>
</author>
<published>2025-07-11T21:23:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=f93b00fa686ad689a59484e4a2905c2fc9a6c875'/>
<id>urn:sha1:f93b00fa686ad689a59484e4a2905c2fc9a6c875</id>
<content type='text'>
This is a preparation for adding an utility function readfile() to read
directly to a variable. Using '$(cat ...)' causes a fork/execve which is
extremely slow just to read '~2' chars.

(commit message from Florian Eckert)
Signed-off-by: Etienne Champetier &lt;champetier.etienne@gmail.com&gt;
</content>
</entry>
</feed>
