bugfix, don't ask the ipv6 interface index of a non ipv6 interface