mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-22 06:13:39 -07:00
Update utils.py
Set default value for 2nd input var on FindLocalIP in order to maintain (backwards)compatibility with DHCP.py (call's with 1 param).
This commit is contained in:
parent
5f1fa4a00f
commit
de469b36a9
1 changed files with 1 additions and 1 deletions
2
utils.py
2
utils.py
|
@ -96,7 +96,7 @@ def OsInterfaceIsSupported():
|
|||
def IsOsX():
|
||||
return sys.platform == "darwin"
|
||||
|
||||
def FindLocalIP(Iface, OURIP):
|
||||
def FindLocalIP(Iface, OURIP=None):
|
||||
if Iface == 'ALL':
|
||||
return '0.0.0.0'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue