SIGN IN SIGN UP
1Panel-dev / 1Panel UNCLAIMED

🔥 Take full control of your VPS with 1Panel. Deploy OpenClaw in one click.

0 0 148 Go

fix: correct listening status display on the firewall page (#12516)

The bug only appeared when the same process had both TCP and UDP sockets:
every listening port on that process was attributed to whichever protocol
was encountered first. For example, if a process listened on TCP 8000 and
UDP 8001, the UI could wrongly show TCP 8001 as in use while UDP 8001
looked unused.

Use (PID, conn.Type) as the cache key so each protocol has its own
ListeningProcess entry.
卢亦之 committed
074c0abb3b51cd4490cc236be64d4a2348b500f4
Parent: 3a00e89
Committed by GitHub <noreply@github.com> on 4/20/2026, 3:27:18 AM