From cccf76e4c06e1a59cfe520381977cc342008eac8 Mon Sep 17 00:00:00 2001 From: Julien Fortin Date: Fri, 29 Apr 2022 16:20:17 +0200 Subject: [PATCH] addons: address: dad-interval: adding log.info before sleep (#232) Signed-off-by: Julien Fortin --- ifupdown2/addons/address.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ifupdown2/addons/address.py b/ifupdown2/addons/address.py index 60a47df..b6a397c 100644 --- a/ifupdown2/addons/address.py +++ b/ifupdown2/addons/address.py @@ -1102,6 +1102,7 @@ class address(AddonWithIpBlackList, moduleBase): tentative = ip_addr_list('tentative') if all(str(ip) not in tentative for ip in ips): break + self.logger.info("%s: dad-interval: sleeping for %s" % (ifaceobj.name, interval)) time.sleep(interval) else: timeout = ','.join(ip for ip in ips if str(ip) not in tentative)