]> git.proxmox.com Git - mirror_ifupdown2.git/blobdiff - ifupdown2/addons/address.py
addons: address: dad-interval: adding log.info before sleep (#232)
[mirror_ifupdown2.git] / ifupdown2 / addons / address.py
index 60a47df5612799b385700217ab9c2b9bc8d47d7e..b6a397c0a5d8684b6096628a0a18baf8e4574f18 100644 (file)
@@ -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)