Bad substitution in getting interface stat