From 1262e26899cf8439f514a6e4cabedeb1d02401c6 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Tue, 21 Jul 2026 12:45:56 -0700 Subject: [PATCH] athena: bring back port migration This reverts commit d9596fa9985edc3e516174fc0b2de1f35021734e. --- openpilot/system/athena/athenad.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openpilot/system/athena/athenad.py b/openpilot/system/athena/athenad.py index ef0561b122..91b12fc0a7 100755 --- a/openpilot/system/athena/athenad.py +++ b/openpilot/system/athena/athenad.py @@ -488,6 +488,10 @@ def setRouteViewed(route: str) -> dict[str, int | str]: def startLocalProxy(global_end_event: threading.Event, remote_ws_uri: str, local_port: int) -> dict[str, int]: try: + # migration, can be removed once 0.9.8 is out for a while + if local_port == 8022: + local_port = 22 + if local_port not in LOCAL_PORT_WHITELIST: raise Exception("Requested local port not whitelisted")