[PATCH 3/5] NetTestCommand: fix format_res_data condition