Browse Source

add comment about passing protocol version to the getconnection method

so that it can decide what paramaters are to be used...
tags/v0.1.0
John-Mark Gurney 5 years ago
parent
commit
b9be29ec82
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      ntunnel.py

+ 3
- 0
ntunnel.py View File

@@ -301,6 +301,9 @@ async def NoiseForwarder(mode, encrdrwrr, connvalid, priv_key, pub_key=None):
# and waits for the server to "connect" to the client w/ a
# connection, e.g. reverse tunnel out behind a nat to allow
# incoming connections.
#
# Add protocol version to getconnection when it gets bumped
#
protocol_version = 0

rdr, wrr = await encrdrwrr


Loading…
Cancel
Save