Skip to content

Commit

Permalink
athena: migrate old termux SSH port to new one
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh committed Oct 16, 2024
1 parent 53f514c commit 9ad2333
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions system/athena/athenad.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,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")

Expand Down

0 comments on commit 9ad2333

Please sign in to comment.