diff options
author | Maxim Devaev <[email protected]> | 2022-11-20 06:39:39 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-11-20 06:39:39 +0300 |
commit | 299fadf0fa5ca538bc95411c2fd43431df26160a (patch) | |
tree | 047ecea8b1728253ac5d40a5f97bf5e578b17ceb /kvmd | |
parent | 26a831d2ed1550a6ab8536a3e0dbd621151ee7ed (diff) |
janus: fixed stun on change request
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/apps/janus/stun.py | 2 |
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) |