ipv6: fix the return interface index when get it while no message is received