The current implementation uses the assumption that the IPv6 address is always based on an EUI-64, which it doesn't has to.