forked from shaba/openuds
Fixed tunnel version
This commit is contained in:
parent
f58cc159a7
commit
d5c9ee341d
@ -51,7 +51,7 @@ BANDWIDTH_TIME = 10
|
||||
# Commands LENGTH (all same length)
|
||||
COMMAND_LENGTH = 4
|
||||
|
||||
VERSION = 'v1.0'
|
||||
VERSION = 'v2.0.0'
|
||||
|
||||
# Valid commands
|
||||
COMMAND_OPEN = b'OPEN'
|
||||
|
@ -259,7 +259,7 @@ class TunnelProtocol(asyncio.Protocol):
|
||||
url,
|
||||
headers={
|
||||
'content-type': 'application/json',
|
||||
'User-Agent': f'UDSTunnel-{consts.VERSION}',
|
||||
'User-Agent': f'UDSTunnel/{consts.VERSION}',
|
||||
},
|
||||
)
|
||||
if not r.ok:
|
||||
|
Loading…
x
Reference in New Issue
Block a user