From 7b9f49f9921b6f98ae1a7c247665cf8f8fd019db Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 21 Jan 2022 04:17:58 +0100 Subject: [PATCH] Fixed logging correct socket --- dhcppython/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhcppython/client.py b/dhcppython/client.py index 9a90749..89e0e44 100644 --- a/dhcppython/client.py +++ b/dhcppython/client.py @@ -323,7 +323,7 @@ def get_socket(self, host: str, port: int) -> socket.socket: else: sock.bind((host, port)) - logging.info(f"Bound {socket}") + logging.info(f"Bound {sock}") return sock def get_writing_sockets(self) -> List[socket.socket]: