if_nameindex() wasn't retrieving interface index. Fixed #9770