Cleaned up code for ifdown and ifup argument formation.