Add support for 64-bit MAC addresses, fixes #6341