Skip to content

Commit

Permalink
fix 6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
RadKesvat committed Oct 13, 2023
1 parent ec7338e commit 98a7fa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/globals.nim
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ let mux_record_len*: uint32 = 5 #2bytes port 2bytes id 1byte reserved

var mux_width*: uint32 = 1 # 1 -> disabeld

var max_idle_timeout*:int = 60 #secs
var max_idle_timeout*:int = 200 #secs

# var udp_max_ppc*: uint32 = 500
var udp_max_idle_time*: uint = 12000 #secs
Expand Down
2 changes: 1 addition & 1 deletion src/iran_server.nim
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ proc acquireRemoteConnection(upload: bool,ip:TransportAddress = TransportAddress
continue

if ip.family != AddressFamily.None:
if ip == remote.transp.remoteAddress():
if ip.address == remote.transp.remoteAddress().address:
return remote
else:
continue
Expand Down

0 comments on commit 98a7fa3

Please sign in to comment.