Bug 514

Summary: arp protocol is registered for devices which don't need arp
Product: ns-3 Reporter: Mathieu Lacage <mathieu.lacage>
Component: internetAssignee: ns-bugs <ns-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P5    
Version: pre-release   
Hardware: All   
OS: All   

Description Mathieu Lacage 2009-02-28 14:36:04 UTC
See Ipv4L3Protocol::AddInterface
It makes no sense to call RegisterProtocolHandler if device->NeedsArp returns false

It works anyway because ArpIpv4Interface checks NeedsArp before calling into the ARP code.

What really sucks here is Ipv4Interface... Hopefully, tom will get rid of this with his ipv4 rework.