flag_th_port