Skip to content

Commit 76db949

Browse files
committed
ovl: fix port forward removal
1 parent 063ab5f commit 76db949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/ovl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ def RemoveForward(self, local_port):
539539
try:
540540
unused_mid, unused_remote, pid = self._state.forwards[str(local_port)]
541541
KillGraceful(pid)
542-
del self._state.forwards[local_port]
542+
del self._state.forwards[str(local_port)]
543543
except (KeyError, OSError):
544544
pass
545545

0 commit comments

Comments
 (0)