src/routing/olsr/olsr-agent-impl.cc
changeset 3125 d2d8a36cfd23
parent 3116 c33b6d2775b7
child 3138 44711f06705e
--- a/src/routing/olsr/olsr-agent-impl.cc	Sat May 17 11:15:02 2008 -0700
+++ b/src/routing/olsr/olsr-agent-impl.cc	Sat May 17 12:08:20 2008 -0700
@@ -31,7 +31,7 @@
 
 #include "olsr-agent-impl.h"
 #include "ns3/socket-factory.h"
-#include "ns3/udp.h"
+#include "ns3/udp-socket-factory.h"
 #include "ns3/simulator.h"
 #include "ns3/log.h"
 #include "ns3/random-variable.h"
@@ -280,7 +280,7 @@
 
       // Create a socket to listen only on this interface
       Ptr<Socket> socket = Socket::CreateSocket (GetObject<Node> (), 
-        Udp::GetTypeId()); 
+        UdpSocketFactory::GetTypeId()); 
       socket->SetRecvCallback (MakeCallback (&AgentImpl::RecvOlsr,  this));
       if (socket->Bind (InetSocketAddress (addr, OLSR_PORT_NUMBER)))
         {