From ba90dae5d6575d0a9529f52eff1851b453b15cd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Sat, 5 Feb 2022 17:50:34 +0100 Subject: [PATCH] Fixed Tunnel version --- tunnel-server/src/uds_tunnel/consts.py | 2 +- tunnel-server/src/uds_tunnel/proxy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tunnel-server/src/uds_tunnel/consts.py b/tunnel-server/src/uds_tunnel/consts.py index 218b6df5..91dffd0d 100644 --- a/tunnel-server/src/uds_tunnel/consts.py +++ b/tunnel-server/src/uds_tunnel/consts.py @@ -51,7 +51,7 @@ BANDWIDTH_TIME = 10 # Commands LENGTH (all same length) COMMAND_LENGTH = 4 -VERSION = 'v1.0' +VERSION = 'v1.0.0' # Valid commands COMMAND_OPEN = b'OPEN' diff --git a/tunnel-server/src/uds_tunnel/proxy.py b/tunnel-server/src/uds_tunnel/proxy.py index 2fefa72c..abaa406d 100644 --- a/tunnel-server/src/uds_tunnel/proxy.py +++ b/tunnel-server/src/uds_tunnel/proxy.py @@ -72,7 +72,7 @@ class Proxy: url, headers={ 'content-type': 'application/json', - 'User-Agent': f'UDSTunnel-{consts.VERSION}', + 'User-Agent': f'UDSTunnel/{consts.VERSION}', }, ) if not r.ok: