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.22.x
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Feb 14, 2016
2 parents 361647a + 16d8c92 commit 3c0e649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vnsw/agent/oper/vm_interface.cc
Expand Up @@ -3676,7 +3676,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 3c0e649

Please sign in to comment.