rnithyanand / dpkt

Automatically exported from code.google.com/p/dpkt
Other
0 stars 0 forks source link

dpkt.pcap support append mode. #104

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
dpkt.pcap.Writer always write libpcap Global-header when file opened.
Large pcap file parsing and created splitting output many files, will see "Too 
many open files".
Of course this is because I keep on opening the file...

Because I wanted to employ a dpkt.pcap.Writer to append packets to pcapfiles, 
will such a patch.

Original issue reported on code.google.com by ruy.su...@gmail.com on 13 Mar 2013 at 11:58

Attachments: