equal
deleted
inserted
replaced
79 { |
79 { |
80 NS_DEBUG ("ArpIpv4Interface::SendTo (): IsBroadcast"); |
80 NS_DEBUG ("ArpIpv4Interface::SendTo (): IsBroadcast"); |
81 hardwareDestination = GetDevice ()->GetBroadcast (); |
81 hardwareDestination = GetDevice ()->GetBroadcast (); |
82 found = true; |
82 found = true; |
83 } |
83 } |
|
84 else if (dest.IsMulticast ()) |
|
85 { |
|
86 NS_DEBUG ("ArpIpv4Interface::SendTo (): IsMulticast"); |
|
87 // XXX BUGBUG |
|
88 // Need real multicast addresses |
|
89 hardwareDestination = GetDevice ()->GetBroadcast (); |
|
90 found = true; |
|
91 } |
84 else |
92 else |
85 { |
93 { |
86 NS_DEBUG ("ArpIpv4Interface::SendTo (): ARP Lookup"); |
94 NS_DEBUG ("ArpIpv4Interface::SendTo (): ARP Lookup"); |
87 found = arp->Lookup (p, dest, GetDevice (), &hardwareDestination); |
95 found = arp->Lookup (p, dest, GetDevice (), &hardwareDestination); |
88 } |
96 } |