Skip to content

Commit

Permalink
Along with label modify ethernet-tag as well.
Browse files Browse the repository at this point in the history
Closes-bug: 1529665
(cherry picked from commit 8145128)

Conflicts:
	src/vnsw/agent/test/test_l2route.cc
Change-Id: I9d56785dcff92b5bbdbaf8b3b33e895be646c607
  • Loading branch information
manishsing committed Feb 9, 2016
1 parent f3815df commit e8d39c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vnsw/agent/controller/controller_peer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1961,6 +1961,9 @@ bool AgentXmppChannel::BuildEvpnMulticastMessage(EnetItemType &item,
nh.tunnel_encapsulation_list.tunnel_encapsulation.push_back("udp");
}
} else {
if (path == NULL)
path = route->FindPath(agent_->local_peer());

if (path) {
nh.label = path->vxlan_id();
item.entry.nlri.ethernet_tag = nh.label;
Expand Down

0 comments on commit e8d39c0

Please sign in to comment.