fix typos in ifdown (patch from #1319)