added ifname len validation