From de469b36a9f344f6c2f2bc9fb17f6fec470c983f Mon Sep 17 00:00:00 2001 From: "Mark Bergman (xychix)" Date: Mon, 26 Sep 2016 13:26:51 +0200 Subject: [PATCH] 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). --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 72818a9..de089ec 100644 --- a/utils.py +++ b/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'