mirror of
https://github.com/Cronocide/wifipumpkin3.git
synced 2025-01-23 03:39:18 +00:00
fixed error hostpad_response when client left ap
This commit is contained in:
parent
e58b70f04d
commit
2fce1f2c70
@ -98,6 +98,7 @@ All notable changes to this project will be documented in this file.
|
||||
- Removed all files *.py compiler. [mh4x0f]
|
||||
|
||||
### Fixed
|
||||
- fixed error hostpad_response when client left ap [mh4x0f]
|
||||
- fixed log hostapd send (state) with close the ap [mh4x0f]
|
||||
- fixed set linguist-vendored=false to exclude language statistics [mh4x0f]
|
||||
- fixed try to exclude files from git language statistics [mh4x0f]
|
||||
|
@ -11,7 +11,7 @@ from subprocess import check_output,Popen,PIPE,STDOUT,CalledProcessError,call
|
||||
from wifipumpkin3.core.controls.threads import ProcessHostapd, ProcessThread
|
||||
from wifipumpkin3.core.wirelessmode.wirelessmode import Mode
|
||||
from wifipumpkin3.core.common.uimodel import *
|
||||
from wifipumpkin3.core.utility.printer import display_messages
|
||||
from wifipumpkin3.core.utility.printer import display_messages,setcolor
|
||||
from wifipumpkin3.exceptions.errors.networkException import *
|
||||
|
||||
# This file is part of the wifipumpkin3 Open Source Project.
|
||||
@ -117,7 +117,7 @@ class Docker(Mode):
|
||||
popen('iptables-restore < {}'.format(C.DOCKERIPTABLESPATH))
|
||||
|
||||
def get_Hostapd_Response(self,data):
|
||||
if self.conf.get('accesspoint','status_ap'):
|
||||
if self.conf.get('accesspoint','status_ap', format=bool):
|
||||
print(display_messages('{} client has left AP '
|
||||
.format(setcolor(data, color='red')), info=True))
|
||||
|
||||
|
@ -68,7 +68,7 @@ class Static(Mode):
|
||||
self.reactor.statusAPError.connect(self.get_error_hostapdServices)
|
||||
|
||||
def get_Hostapd_Response(self,data):
|
||||
if self.conf.get('accesspoint','status_ap'):
|
||||
if self.conf.get('accesspoint','status_ap', format=bool):
|
||||
print(display_messages('{} client has left AP '
|
||||
.format(setcolor(data, color='red')), info=True))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user