name changes missed
authorCraig Dowell <craigdo@ee.washington.edu>
Mon, 10 Sep 2007 15:57:33 -0700
changeset 1450 5113781f15d2
parent 1449 df86e6b876ef
child 1451 e421081dd580
name changes missed
examples/csma-broadcast.cc
src/internet-node/udp-socket.cc
--- a/examples/csma-broadcast.cc	Mon Sep 10 15:50:07 2007 -0700
+++ b/examples/csma-broadcast.cc	Mon Sep 10 15:57:33 2007 -0700
@@ -103,13 +103,13 @@
     CsmaTopology::CreateCsmaChannel(
       DataRate(5000000), MilliSeconds(2));
 
-  uint32_t n0ifIndex0 = CsmaIpv4Topology::AddIpv4CsmaNode (n0, channel0, 
+  uint32_t n0ifIndex0 = CsmaIpv4Topology::AddIpv4CsmaNetDevice (n0, channel0, 
                                          Eui48Address("10:54:23:54:0:50"));
-  uint32_t n0ifIndex1 = CsmaIpv4Topology::AddIpv4CsmaNode (n0, channel1, 
+  uint32_t n0ifIndex1 = CsmaIpv4Topology::AddIpv4CsmaNetDevice (n0, channel1, 
                                          Eui48Address("10:54:23:54:0:51"));
-  uint32_t n1ifIndex = CsmaIpv4Topology::AddIpv4CsmaNode (n1, channel0,
+  uint32_t n1ifIndex = CsmaIpv4Topology::AddIpv4CsmaNetDevice (n1, channel0,
                                          Eui48Address("10:54:23:54:23:51"));
-  uint32_t n2ifIndex = CsmaIpv4Topology::AddIpv4CsmaNode (n2, channel1,
+  uint32_t n2ifIndex = CsmaIpv4Topology::AddIpv4CsmaNetDevice (n2, channel1,
                                          Eui48Address("10:54:23:54:23:52"));
 
   // Later, we add IP addresses.  
--- a/src/internet-node/udp-socket.cc	Mon Sep 10 15:50:07 2007 -0700
+++ b/src/internet-node/udp-socket.cc	Mon Sep 10 15:57:33 2007 -0700
@@ -255,7 +255,7 @@
 int
 UdpSocket::DoSendTo (const Packet &p, Ipv4Address dest, uint16_t port)
 {
-  NS_DEBUG("UdpSocket::DoSendTo (" << &p << ", " << addr << ", " <<
+  NS_DEBUG("UdpSocket::DoSendTo (" << &p << ", " << dest << ", " <<
     port << ")");
 
   Ipv4Route routeToDest;