diff options
author | 2016-09-05 10:32:08 +0300 | |
---|---|---|
committer | 2016-09-07 14:02:57 +0300 | |
commit | 0d4c9932591a46d5e2398dd1049001e107130f44 (patch) | |
tree | 71bbf0b7f287d721459132cefc91c104b989e4ef /src/common | |
parent | d508420652d613fdc87f6af746fd1372cd2ae7d2 (diff) |
dual mode : code review fixes
Diffstat (limited to 'src/common')
-rwxr-xr-x | src/common/erf.cpp | 2 | ||||
-rwxr-xr-x | src/common/pcap.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/common/erf.cpp b/src/common/erf.cpp index c4c14998..ae256a6b 100755 --- a/src/common/erf.cpp +++ b/src/common/erf.cpp @@ -450,7 +450,7 @@ bool CErfFileReader::ReadPacket(CCapPktRaw * lpPacket){ &interface); if ( length >0 ) { lpPacket->pkt_len =(uint16_t)length; - lpPacket->pkt_cnt++; + lpPacket->pkt_cnt++; lpPacket->setInterface(interface); return (true); } diff --git a/src/common/pcap.h b/src/common/pcap.h index 01c981d7..3f8dfd21 100755 --- a/src/common/pcap.h +++ b/src/common/pcap.h @@ -69,7 +69,7 @@ public: * * @return bool */ - bool isValid() { return m_is_valid; } + bool isValid() { return m_is_valid; } /** * Fill the structure with the new packet. @@ -78,7 +78,7 @@ public: * @return bool - return true if packet were read and false * otherwise (reached eof) */ - virtual bool ReadPacket(CCapPktRaw *lpPacket); + virtual bool ReadPacket(CCapPktRaw *lpPacket); virtual void Rewind(); |