mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-22 06:13:39 -07:00
Update DHCP.py
FindLocalIP also wan't OURIP variable as input, reading that source it's allowed to be None (only on OSX it might hold some value) QuickFix to make DHCP.py work again.
This commit is contained in:
parent
5f1fa4a00f
commit
4c5d29dfb4
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ config.read(os.path.join(BASEDIR,'Responder.conf'))
|
|||
RespondTo = filter(None, [x.upper().strip() for x in config.get('Responder Core', 'RespondTo').strip().split(',')])
|
||||
DontRespondTo = filter(None, [x.upper().strip() for x in config.get('Responder Core', 'DontRespondTo').strip().split(',')])
|
||||
Interface = options.Interface
|
||||
Responder_IP = FindLocalIP(Interface)
|
||||
Responder_IP = FindLocalIP(Interface, None)
|
||||
ROUTERIP = options.RouterIP
|
||||
NETMASK = options.Netmask
|
||||
DHCPSERVER = Responder_IP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue