def CorrectMAC(mac):
    decompressed = map(lambda m: "%02x" % (int(m, 16)), mac.split(":")) 
    return ":".join(decompressed)
OpenBSD shortens MAC addresses in ndp output - here they grow again
dataset/ETHPy150Open HenriWahl/dhcpy6d/dhcpy6/Helpers.py/CorrectMAC