1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-08 12:13:31 -04:00
Files
DankMaterialShell/core/internal/server/network
Graeme Foster e51ceed175 fix(network): exclude virtual ether links and prune stale ones from networkd (#2505)
The networkd backend treated any link reporting Type=ether as a wired uplink.
Podman bridges and veth pairs report Type=ether, so they were classified as
ethernet: isWired() short-circuited on Type and never consulted looksVirtual(),
which also lacked a podman prefix.

The link map was also never pruned. Links discovered at enumeration or via
signals were kept forever, so torn-down container interfaces lingered as
routable and could win the wired-uplink slot over the real NIC -- leaving the
indicator showing WiFi while a wired connection was active and default-routed.

- isWired()/isWireless() exclude virtual interfaces before consulting Type, and
  looksVirtual() now recognises podman.
- enumerateLinks() reconciles the cached map against ListLinks via syncLinks(),
  pruning links that no longer appear so dead interfaces don't accumulate.
2026-06-01 09:45:49 -04:00
..
2025-11-12 23:12:31 -05:00
2025-11-12 23:12:31 -05:00
2025-11-12 23:12:31 -05:00
2025-11-12 23:12:31 -05:00
2025-11-12 23:12:31 -05:00
2025-11-12 23:12:31 -05:00
2025-11-12 23:12:31 -05:00
2025-11-12 23:12:31 -05:00
2025-11-12 23:12:31 -05:00
2025-11-12 23:12:31 -05:00
2025-11-12 23:12:31 -05:00
2025-11-12 23:12:31 -05:00
2026-01-07 14:13:03 -05:00
2025-11-12 23:12:31 -05:00
2025-11-29 10:00:05 -05:00