Bug 2209

Summary: ICMP error messages forwarding is not based on the incoming interface
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: internetAssignee: Tommaso Pecorella <tommaso.pecorella>
Status: PATCH WANTED ---    
Severity: minor CC: ns-bugs, tomh
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Bug Depends on: 2208    
Bug Blocks:    

Description Tommaso Pecorella 2015-11-06 17:33:13 EST
This happens both in IPv4 and IPv6.

E.g., the function
Icmpv4L4Protocol::Forward (Ipv4Address source, Icmpv4Header icmp,
                           uint32_t info, Ipv4Header ipHeader,
                           const uint8_t payload[8])

does not know the incoming interface.
As a consequence, the ICMP error message is forwarded to the "default" L4 protocol, which could be not the right protocol.