internet: Fix log statement and remove dead code

This commit is contained in:
Tom Henderson
2019-05-16 08:35:54 -07:00
parent eda73a35f9
commit 0f1b1620e6

View File

@@ -894,8 +894,7 @@ void Ipv6L3Protocol::Send (Ptr<Packet> packet, Ipv6Address source, Ipv6Address d
/* 2) */
if (route && route->GetGateway () == Ipv6Address::GetZero ())
{
NS_LOG_LOGIC ("Ipv6L3Protocol::Send case 1: probably sent to machine on same IPv6 network");
/* NS_FATAL_ERROR ("This case is not yet implemented"); */
NS_LOG_LOGIC ("Ipv6L3Protocol::Send case 2: probably sent to machine on same IPv6 network");
hdr = BuildHeader (source, destination, protocol, packet->GetSize (), ttl, tclass);
int32_t interface = GetInterfaceForDevice (route->GetOutputDevice ());
m_sendOutgoingTrace (hdr, packet, interface);