src/internet-node/arp-ipv4-interface.cc
changeset 1432 3aef7d7a71c2
parent 1430 25fa26a6533e
child 1441 d6f8a7546e7f
equal deleted inserted replaced
1431:3760d52ef5d1 1432:3aef7d7a71c2
    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         }