[PATCH] [qos-scripts] Fix packet/connection marking when using halfduplex option