One more bugfix. sendpkt() was being called with a wrong length even though
the RAW_IP packet being sent had a different ip_len. This happened in the case of a nse topology that is disconnected due to how assign maps it. The encapsulated simulator packet was decapsulated even though it has to leave the physical node again. Under this circumstance, the decapsulated simulator packet size was used for RAW_IP send() instead of the size of the encapsulated packet.
Showing with 8 additions and 7 deletions