reformat packetlist