Bug 1837 - AODV crashes when using multiple interfaces
This commit is contained in:
@@ -1746,7 +1746,7 @@ RoutingProtocol::SendRerrWhenNoRouteToForward (Ipv4Address dst,
|
||||
{
|
||||
destination = iface.GetBroadcast ();
|
||||
}
|
||||
socket->SendTo (packet, 0, InetSocketAddress (destination, AODV_PORT));
|
||||
socket->SendTo (packet->Copy (), 0, InetSocketAddress (destination, AODV_PORT));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user