Fixed a bug in extract_macaddress(), where a valid macaddress was considered wrong.