mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
The remaining nulls
This commit is contained in:
parent
41c3256faa
commit
0a47588d0b
80 changed files with 565 additions and 565 deletions
4
src/IP.h
4
src/IP.h
|
@ -136,7 +136,7 @@ public:
|
|||
/**
|
||||
* Returns the script-layer record representation of the header.
|
||||
*/
|
||||
RecordVal* BuildRecordVal(VectorVal* chain = 0) const;
|
||||
RecordVal* BuildRecordVal(VectorVal* chain = nullptr) const;
|
||||
|
||||
protected:
|
||||
uint8_t type;
|
||||
|
@ -184,7 +184,7 @@ public:
|
|||
*/
|
||||
const struct ip6_frag* GetFragHdr() const
|
||||
{ return IsFragment() ?
|
||||
(const struct ip6_frag*)chain[chain.size()-1]->Data(): 0; }
|
||||
(const struct ip6_frag*)chain[chain.size()-1]->Data(): nullptr; }
|
||||
|
||||
/**
|
||||
* If the header chain is a fragment, returns the offset in number of bytes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue