Bypass sets an ipv6 default route 'via None' on networks without ipv6 #160

Closed
opened 2026-08-24 18:34:23 -04:00 by mysticalsoap · 0 comments
Owner

Every bypass rebuild on a network with no ipv6 gateway logs

ERROR - Bypass: Failed to set ipv6 route 'default via None dev enp5s0'

create_cgroup interpolates the routes dict's gateway_6 straight into ip -6 route replace default via {gw_6} ... — and with no ipv6 connectivity that value is the literal string None, so the command can only fail. The v4 branch has the same shape but always has a real gateway in practice.

Skip the v6 route (log debug, not error) when gateway_6 is "None" — same convention observer.default_routes already uses for absent gateways. Fires on every service start, network change and settings apply, so it reads like something is broken when nothing is.

🤖 Generated with Claude Code

Every bypass rebuild on a network with no ipv6 gateway logs ``` ERROR - Bypass: Failed to set ipv6 route 'default via None dev enp5s0' ``` `create_cgroup` interpolates the routes dict's `gateway_6` straight into `ip -6 route replace default via {gw_6} ...` — and with no ipv6 connectivity that value is the literal string `None`, so the command can only fail. The v4 branch has the same shape but always has a real gateway in practice. Skip the v6 route (log debug, not error) when `gateway_6` is "None" — same convention `observer.default_routes` already uses for absent gateways. Fires on every service start, network change and settings apply, so it reads like something is broken when nothing is. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mysticalsoap/aqomui#160
No description provided.