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
: ns-3
internet-stack
: pre-release
: All All
: P5 normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-02-28 14:36 EDT by
Modified: 2009-06-03 03:49 EDT (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-02-28 14:36:04 EDT
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.