From 0da51dda9278271edfb5043a34106adb9c72434d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Thu, 14 Jan 2021 10:05:58 +0100 Subject: [PATCH] fixed log of tunnel --- client-py3/full/src/uds/tunnel.py | 4 ++-- tunnel-server/src/forwarder/udstunnel.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client-py3/full/src/uds/tunnel.py b/client-py3/full/src/uds/tunnel.py index c6463ce8..3818ce57 100644 --- a/client-py3/full/src/uds/tunnel.py +++ b/client-py3/full/src/uds/tunnel.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (c) 2021 Virtual Cable S.L.U. +# Copyright (c) 2020 Virtual Cable S.L.U. # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, @@ -126,7 +126,7 @@ class Handler(socketserver.BaseRequestHandler): try: with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as rsocket: logger.info('CONNECT to %s', self.server.remote) - logger.debug('Ticket %s', self.server.remote, self.server.ticket) + logger.debug('Ticket %s', self.server.ticket) rsocket.connect(self.server.remote) diff --git a/tunnel-server/src/forwarder/udstunnel.py b/tunnel-server/src/forwarder/udstunnel.py index e83031ff..3818ce57 100644 --- a/tunnel-server/src/forwarder/udstunnel.py +++ b/tunnel-server/src/forwarder/udstunnel.py @@ -126,7 +126,7 @@ class Handler(socketserver.BaseRequestHandler): try: with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as rsocket: logger.info('CONNECT to %s', self.server.remote) - logger.debug('Ticket %s', self.server.remote, self.server.ticket) + logger.debug('Ticket %s', self.server.ticket) rsocket.connect(self.server.remote)