Back to index

natlog  0.91.0
destructor.cc
Go to the documentation of this file.
00001 #include "pcaprecord.ih"
00002 
00003 PcapRecord::~PcapRecord()
00004 {
00005     size_t endSeconds = time(0);
00006 
00007     d_stdMsg << "terminating" << endl;
00008 
00009     for (auto &rec: d_connections)
00010     {
00011         if (rec && rec->status == ESTABLISHED)
00012             log(rec, endSeconds, 0);
00013     }
00014     
00015 }