correct packet size for log file