Skip to content

Commit

Permalink
Merge "Do not set service-instance-ip as primary address on an interf…
Browse files Browse the repository at this point in the history
…ace."
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Feb 25, 2016
2 parents 59d4181 + a4c86c3 commit 03d0bcb
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 @@ -426,7 +426,7 @@ static void BuildInstanceIp(Agent *agent, VmInterfaceConfigData *data,
IpAddress addr = IpAddress::from_string(ip->address(), err);
bool is_primary = false;

if (ip->secondary() != true) {
if (ip->secondary() != true && ip->service_instance_ip() != true) {
is_primary = true;
if (addr.is_v4()) {
if (addr == Ip4Address(0)) {
Expand Down

0 comments on commit 03d0bcb

Please sign in to comment.