openwrt-pf/package/network/utils
Erik Conijn 67ee9cf19d wireguard: add metric to routes
maintainer: Felix Fietkau <nbd@nbd.name>

The metric field is not used when wireGuard routes are created.

See: https://github.com/openwrt/openwrt/issues/23199

This patch is aimed at adding the metric field in the config to the created routes for WireGuard if
the metric field is not empty and not 0

Compile tested: X86, Openwrt-main
Run tested: X86

Please have a look and consider implementing

Signed-off-by: Erik Conijn <egc112@msn.com>
Link: https://github.com/openwrt/openwrt/pull/23280
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-07-01 19:09:09 +02:00
..
adb-enablemodem
arptables arptables: add CPPFLAGS 2026-02-17 22:25:22 +01:00
bpftool bpftool: update to 7.7.0 2026-04-19 18:46:36 +02:00
comgt
ebtables ebtables: add CPPFLAGS 2026-02-17 22:25:26 +01:00
ethtool ethtool: update to 7.0 2026-05-29 10:50:41 +02:00
iproute2 iproute2: include upstream patch for musl libc 2026-02-24 20:21:50 +01:00
ipset
iptables iptables: prefer nft variants over zz-legacy 2026-03-17 02:17:57 +01:00
iw iw: backport scan print of RSN Element Override IEs 2026-05-02 20:34:22 +02:00
iwcap iwcap: add CPPFLAGS 2026-02-17 22:25:09 +01:00
iwinfo libiwinfo: update to Git HEAD (2026-05-26) 2026-05-26 01:37:18 +02:00
layerscape/restool restool: bump to lf-6.18.2-1.0.0 2026-06-26 18:50:56 +02:00
linux-atm
ltq-dsl-base
nftables package: nftables: replace patch with proper backport 2026-06-22 11:52:58 +02:00
resolveip resolveip: add CPPFLAGS 2026-02-17 22:25:09 +01:00
rssileds
tcpdump tcpdump: update to 4.99.6 2026-01-28 23:41:32 +01:00
umbim umbim: introduce devpath option 2026-03-03 14:17:48 +02:00
uqmi uqmi: use configured profile-id if available 2026-05-20 17:04:18 +02:00
wireguard-tools wireguard: add metric to routes 2026-07-01 19:09:09 +02:00
wireless-tools wireless-tools: add CPPFLAGS 2026-02-17 22:25:09 +01:00
wpan-tools
wwan wwan: add Quectel modems 2026-04-03 18:47:49 +02:00
xdp-tools xdp-tools: fix musl build issues 2026-04-20 08:53:33 +02:00