mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Fix IPAddr/IPPrefix serialization bugs. (all unit tests pass)
This commit is contained in:
parent
c227563baf
commit
06e59e1398
3 changed files with 8 additions and 9 deletions
|
@ -411,8 +411,8 @@ public:
|
|||
{
|
||||
// No self-assignment check here because it's correct without it and
|
||||
// makes the common case faster.
|
||||
prefix = other.Prefix();
|
||||
length = other.Length();
|
||||
prefix = other.prefix;
|
||||
length = other.length;
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue