Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pcap-file: Flush packets to operating system immediately.
This makes the pcap files written by netdev-dummy up-to-date even if one kills the process with a signal. This could be a performance hit if the pcap file writer were to be used in some kind of performance critical situation, but so far it's only used in netdev-dummy, which is just for testing. Signed-off-by: Ben Pfaff <[email protected]> Acked-by: Andy Zhou <[email protected]>
- Loading branch information