added getip-method to get local ipv6