Fix of ns-3 compatible packet format