From d40d35c7cee6b16caaca22a31bd7828d1019c7ae Mon Sep 17 00:00:00 2001 From: mh4x0f Date: Fri, 3 Apr 2020 20:14:15 -0300 Subject: [PATCH] fixed mascared bug file descriptor bad partial solution --- CHANGELOG.md | 1 + wifipumpkin3/core/packets/dhcpserver.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93c5523..6bff046 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,7 @@ All notable changes to this project will be documented in this file. - Removed all files *.py compiler. [mh4x0f] ### Fixed +- fixed Bad file descriptor with socket SO_REUSEADDR activate [mh4x0f] - Fixed session id not empty when start app. [mh4x0f] - Fixed wirelessmode docker remount ap without errors. [mh4x0f] - Fixed name file configuration. [mh4x0f] diff --git a/wifipumpkin3/core/packets/dhcpserver.py b/wifipumpkin3/core/packets/dhcpserver.py index 029905f..318065a 100644 --- a/wifipumpkin3/core/packets/dhcpserver.py +++ b/wifipumpkin3/core/packets/dhcpserver.py @@ -164,4 +164,7 @@ class DHCPThread(QThread): self.started = False Refactor.writeFileDataToJson(C.CLIENTS_CONNECTED, {}, 'w') print('Thread::[{}] successfully stopped.'.format(self.objectName())) - self.sock.close() \ No newline at end of file + #TODO: bug: Bad file descriptor with socket SO_REUSEADDR activate + # OSError: [Errno 9] Bad file descriptor when close socket + # the tempp solution is not close socket in time excutation + #self.sock.close() \ No newline at end of file