Fix typo when checking net interface name