mirror of
https://github.com/Cronocide/wifipumpkin3.git
synced 2025-01-23 03:39:18 +00:00
fixed set as default HOSTNAME key on leases object #23
This commit is contained in:
parent
8fd0803ee1
commit
2dd0fef19b
@ -17,6 +17,7 @@ All notable changes to this project will be documented in this file.
|
||||
### Removed
|
||||
|
||||
### Fixed
|
||||
- fixed set as default HOSTNAME key on leases object [mh4x0f]
|
||||
- fixed settings default status_ap values that change on #23 [mh4x0f]
|
||||
- fixed lock command start when AP is running [mh4x0f]
|
||||
- fixed NoProxy object has no attribute parser_set_noproxy #24 [mh4x0f]
|
||||
|
@ -80,7 +80,7 @@ class DHCPProtocol(QObject):
|
||||
mac = str(packet.get_hardware_address())
|
||||
if mac not in self.leases.keys():
|
||||
self.ip_client = next(self.IPADDR)
|
||||
self.leases[mac] = {"MAC": mac, "IP": str(self.ip_client)}
|
||||
self.leases[mac] = {"MAC": mac, "IP": str(self.ip_client),"HOSTNAME" : "" }
|
||||
else:
|
||||
self.ip_client = self.leases[mac]["IP"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user