Bug 514 - arp protocol is registered for devices which don't need arp
arp protocol is registered for devices which don't need arp
Status: RESOLVED INVALID
Product: ns-3
Classification: Unclassified
Component: internet
pre-release
All All
: P5 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-28 14:36 UTC by Mathieu Lacage
Modified: 2009-06-03 03:49 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.