summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-11-20 06:39:39 +0300
committerMaxim Devaev <[email protected]>2022-11-20 06:39:39 +0300
commit299fadf0fa5ca538bc95411c2fd43431df26160a (patch)
tree047ecea8b1728253ac5d40a5f97bf5e578b17ceb
parent26a831d2ed1550a6ab8536a3e0dbd621151ee7ed (diff)
janus: fixed stun on change request
-rw-r--r--kvmd/apps/janus/stun.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/janus/stun.py b/kvmd/apps/janus/stun.py
index 1233d7ea..f1f4d75d 100644
--- a/kvmd/apps/janus/stun.py
+++ b/kvmd/apps/janus/stun.py
@@ -88,7 +88,7 @@ class Stun:
if first.changed is None:
raise RuntimeError(f"Changed addr is None: {first}")
- response = await self.__make_request("Change request [ext_ip != src_ip]", b"", *first.changed.ip)
+ response = await self.__make_request("Change request [ext_ip != src_ip]", b"", first.changed.ip, first.changed.port)
if not response.ok:
return (StunNatType.CHANGED_ADDR_ERROR, response)