diff --git a/_runners/cms_net.py b/_runners/cms_net.py index 1d73d38..6ec6ae8 100644 --- a/_runners/cms_net.py +++ b/_runners/cms_net.py @@ -32,9 +32,9 @@ def wolmatch(tgt, destport=9): continue # NOTE: FIVE, NINE, and TEN all should have eth addr as well, why is there only one printed? for iface, mac in minion['hwaddr_interfaces'].items(): - if iface == 'lo' or mac == ':::::': - continue mac = mac.strip() + if iface == 'lo' or len(mac) != len("00:00:00:00:00:00"): + continue #print(name, iface, mac, minion['ip_interfaces']) wol(mac, destport=destport) log.info('Waking up %s', mac)