Skip to content

Commit

Permalink
Merge "Fix the comparator for VmInterface::AllowedAddressPair." into …
Browse files Browse the repository at this point in the history
…R2.21.x
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Feb 14, 2016
2 parents b8636bb + 619b365 commit 3220bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vnsw/agent/oper/vm_interface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3616,7 +3616,7 @@ bool VmInterface::AllowedAddressPair::IsLess(const AllowedAddressPair *rhs) cons
if (addr_ != rhs->addr_)
return addr_ < rhs->addr_;

if (plen_ < rhs->plen_) {
if (plen_ != rhs->plen_) {
return plen_ < rhs->plen_;
}

Expand Down

0 comments on commit 3220bb7

Please sign in to comment.