Added function to get ip6 link of a given device