Skip to content

Commit

Permalink
Merge pull request #1 from konradkonrad/fix_test3
Browse files Browse the repository at this point in the history
fix jtriley#14: in test3, the client should send Request from the last used …
  • Loading branch information
konradkonrad authored Apr 3, 2017
2 parents ab5eb34 + 7ca4fc2 commit 5d0922a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stun/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def get_nat_type(s, source_ip, source_port, stun_host=None, stun_port=3478):
changePortRequest = ''.join([ChangeRequest, '0004',
"00000002"])
log.debug("Do Test3")
ret = stun_test(s, changedIP, port, source_ip, source_port,
ret = stun_test(s, changedIP, changedPort, source_ip, source_port,
changePortRequest)
log.debug("Result: %s", ret)
if ret['Resp']:
Expand Down

0 comments on commit 5d0922a

Please sign in to comment.