Skip to content

Commit

Permalink
Interface Mac is Wrongly given instead of vm_mac.
Browse files Browse the repository at this point in the history
closes-bug:#1650219

Change-Id: I8ad0e093ecf9255852e37c3c835e65d764fb70de
  • Loading branch information
jayaramsatya committed Jan 30, 2017
1 parent 11cc931 commit ae3a2ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vnsw/agent/services/arp_entry.cc
Expand Up @@ -141,14 +141,14 @@ void ArpEntry::SendGratuitousArp() {
if (!gw_ip.is_unspecified() && gw_ip.is_v4()) {
handler_->SendArp(ARPOP_REQUEST, smac,
gw_ip.to_v4().to_ulong(),
smac, vmi->mac(), gw_ip.to_v4().to_ulong(),
smac, vmi->vm_mac(), gw_ip.to_v4().to_ulong(),
vmi->id(), key_.vrf->vrf_id());
}
if (!dns_ip.is_unspecified() && dns_ip.is_v4() &&
dns_ip != gw_ip) {
handler_->SendArp(ARPOP_REQUEST, smac,
dns_ip.to_v4().to_ulong(),
smac, vmi->mac(), dns_ip.to_v4().to_ulong(),
smac, vmi->vm_mac(), dns_ip.to_v4().to_ulong(),
vmi->id(), key_.vrf->vrf_id());
}
}
Expand Down

0 comments on commit ae3a2ee

Please sign in to comment.