don't use strlen against potentially nothing (could happen because of another bug in complete_ifname exposed by malloc flag S)
from Stuart Henderson <stu@spacehopper.org>
SIOCSIFMETRIC sets int, not ulong