Skip to content

fix(ports): show WAN tooltip only on the gateway unit - #1386

Merged
gnacho merged 1 commit into
mainfrom
fix/1383-portpanel-wan
Oct 12, 2026
Merged

gnacho merged 1 commit into
mainfrom
fix/1383-portpanel-wan

Conversation

@gnacho

@gnacho gnacho commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Bug (#1383)\n\nThe Ports card fed every "wan" jack with the global useNetPulse().wan, which is the internet connection of the gateway unit. Any non-gateway router with a wan jack (e.g. a dumb AP uplinked through its ex-WAN port) showed the gateway's public IP and DNS on what is a local link.\n\n## Fix\n\nPass the WAN info to the jack only when the router is the gateway (roleBadge Principal); other units render the jack as a plain port.\n\n## Verification\n\n- Live preview: AP detail shows the ex-WAN jack as a plain port (no public IP/DNS); gateway unchanged (PPPoE, public IP, gateway, DNS).\n\nCloses #1383

The Ports card fed every "wan" jack with the global useNetPulse().wan,
which is the internet connection of the gateway unit. Any non-gateway
router with a wan jack (e.g. a dumb AP uplinked through its ex-WAN
port) showed the gateway's public IP and DNS on a local link.

Pass the WAN info to the jack only when the router is the gateway
(roleBadge Principal); other units render the jack as a plain port.

Closes #1383
@gnacho
gnacho merged commit ea2bbda into main Oct 12, 2026
2 checks passed
@gnacho
gnacho deleted the fix/1383-portpanel-wan branch October 12, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant