mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
addons: address: dad-interval: adding log.info before sleep (#232)
Signed-off-by: Julien Fortin <jfortin@nvidia.com>
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user