Make tc and ip batch mode consistent

Change the code for tc and ip so that batch mode is handled
the same.
4 files changed