The TTL for datapackets in simulations has not been set correctly
Fixed error in loop detection.

The link has not been deleted from the routing table because the
source address and sequence number of the duplicate warning packet
matched the original data packet and was thus ignored as diplicate
itself.