Skip to content

Commit

Permalink
Merge "Delete request on the fabric route table."
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed May 28, 2015
2 parents 686da0f + 5be631f commit 942515f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/vnsw/agent/services/icmpv6_proto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,14 @@ void Icmpv6Proto::VrfNotify(DBEntryBase *entry) {
if (entry->IsDeleted()) {
boost::system::error_code ec;
Ip6Address addr = Ip6Address::from_string(IPV6_ALL_ROUTERS_ADDRESS, ec);
static_cast<InetUnicastAgentRouteTable *>
(vrf->GetInet6UnicastRouteTable())->DeleteReq(agent_->local_peer(),
vrf->GetName(),
addr, 128, NULL);
// enqueue delete request on fabric VRF
agent_->fabric_inet4_unicast_table()->DeleteReq(agent_->local_peer(),
vrf->GetName(),
addr, 128, NULL);
addr = Ip6Address::from_string(PKT0_LINKLOCAL_ADDRESS, ec);
static_cast<InetUnicastAgentRouteTable *>
(vrf->GetInet6UnicastRouteTable())->DeleteReq(agent_->local_peer(),
vrf->GetName(),
addr, 128, NULL);
agent_->fabric_inet4_unicast_table()->DeleteReq(agent_->local_peer(),
vrf->GetName(),
addr, 128, NULL);
}
}

Expand Down

0 comments on commit 942515f

Please sign in to comment.