# HG changeset patch # User Mathieu Lacage # Date 1246023483 -7200 # Node ID 8562a42accf6f715d312c037326ec7da48095e13 # Parent a84f60b6cd122c17c8955a94971bc571aff62b4d# Parent 605a0290ba5fb93f6c3ed0a49d639eb4b2ebc8bc merge with HEAD diff -r a84f60b6cd12 -r 8562a42accf6 src/devices/wifi/dcf-manager.cc --- a/src/devices/wifi/dcf-manager.cc Fri Jun 26 15:34:16 2009 +0200 +++ b/src/devices/wifi/dcf-manager.cc Fri Jun 26 15:38:03 2009 +0200 @@ -577,7 +577,7 @@ //this may be caused only if PHY has started to receive a packet //inside SIFS, so, we check that lastRxStart was maximum a SIFS //ago - NS_ASSERT(Simulator::Now () - m_lastRxStart < m_sifs); + NS_ASSERT(Simulator::Now () - m_lastRxStart <= m_sifs); m_lastRxEnd = Simulator::Now (); m_lastRxDuration = m_lastRxEnd - m_lastRxStart; m_lastRxReceivedOk = true; diff -r a84f60b6cd12 -r 8562a42accf6 src/internet-stack/ipv4-interface.cc --- a/src/internet-stack/ipv4-interface.cc Fri Jun 26 15:34:16 2009 +0200 +++ b/src/internet-stack/ipv4-interface.cc Fri Jun 26 15:38:03 2009 +0200 @@ -43,7 +43,7 @@ "The arp cache for this ipv4 interface", PointerValue (0), MakePointerAccessor (&Ipv4Interface::m_cache), - MakePointerChecker ()) + MakePointerChecker ()) ; ; return tid; diff -r a84f60b6cd12 -r 8562a42accf6 src/node/udp-socket.cc --- a/src/node/udp-socket.cc Fri Jun 26 15:34:16 2009 +0200 +++ b/src/node/udp-socket.cc Fri Jun 26 15:38:03 2009 +0200 @@ -58,13 +58,13 @@ .AddAttribute ("IpMulticastIf", "interface index for outgoing multicast on this socket; -1 indicates to use default interface", IntegerValue (-1), - MakeUintegerAccessor (&UdpSocket::GetIpMulticastTtl, - &UdpSocket::SetIpMulticastTtl), + MakeIntegerAccessor (&UdpSocket::GetIpMulticastIf, + &UdpSocket::SetIpMulticastIf), MakeIntegerChecker ()) .AddAttribute ("IpMulticastLoop", "whether outgoing multicast sent also to loopback interface", BooleanValue (false), - MakeUintegerAccessor (&UdpSocket::GetIpMulticastLoop, + MakeBooleanAccessor (&UdpSocket::GetIpMulticastLoop, &UdpSocket::SetIpMulticastLoop), MakeBooleanChecker ()) .AddAttribute ("MtuDiscover", "If enabled, every outgoing ip packet will have the DF flag set.",