diff --git a/CHANGELOG.md b/CHANGELOG.md index cded321..65c96d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] diff --git a/wifipumpkin3/core/packets/dhcpserver.py b/wifipumpkin3/core/packets/dhcpserver.py index e973231..e68e8c3 100644 --- a/wifipumpkin3/core/packets/dhcpserver.py +++ b/wifipumpkin3/core/packets/dhcpserver.py @@ -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"]