Commit 0038fb32 authored by gauthier's avatar gauthier

Bug fseid operator <

parent 3090eaff
...@@ -796,10 +796,10 @@ namespace pfcp { ...@@ -796,10 +796,10 @@ namespace pfcp {
if (i64 < this64) return true; if (i64 < this64) return true;
else if (i64 > this64) return false; else if (i64 > this64) return false;
i64 = ((uint64_t)i.ipv6_address.s6_addr32[4] << 32) | i64 = ((uint64_t)i.ipv6_address.s6_addr32[2] << 32) |
((uint64_t)i.ipv6_address.s6_addr32[5]); ((uint64_t)i.ipv6_address.s6_addr32[3]);
this64 = ((uint64_t)this->ipv6_address.s6_addr32[4] << 32) | this64 = ((uint64_t)this->ipv6_address.s6_addr32[2] << 32) |
((uint64_t)this->ipv6_address.s6_addr32[5]); ((uint64_t)this->ipv6_address.s6_addr32[3]);
if (i64 < this64) return true; if (i64 < this64) return true;
else if (i64 > this64) return false; else if (i64 > this64) return false;
} else if (this->v6) return true; } else if (this->v6) return true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment