Browse Source

krackattacks: bugfix in DHCP_sock init

Mathy Vanhoef 7 years ago
parent
commit
6f5aa0bf5f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      krackattack/krack-test-client.py

+ 1 - 1
krackattack/krack-test-client.py

@@ -169,7 +169,7 @@ def hostapd_command(hostapd_ctrl, cmd):
 class DHCP_sock(DHCP_am):
 	def __init__(self, **kwargs):
 		self.sock = kwargs.pop("sock")
-		super(DHCP_am, self).__init__(**kwargs)
+		super(DHCP_sock, self).__init__(**kwargs)
 
 	def make_reply(self, req):
 		rep = super(DHCP_sock, self).make_reply(req)