diff -r 38b8549b1ad3 -r 3cdd9d60f7c7 examples/csma-packet-socket.cc --- a/examples/csma-packet-socket.cc Thu Jul 03 09:44:23 2008 -0400 +++ b/examples/csma-packet-socket.cc Thu Jul 03 15:44:54 2008 -0700 @@ -74,7 +74,7 @@ // use a helper function to connect our nodes to the shared channel. NS_LOG_INFO ("Build Topology."); CsmaHelper csma; - csma.SetDeviceParameter ("EncapsulationMode", StringValue ("Llc")); + csma.SetDeviceAttribute ("EncapsulationMode", StringValue ("Llc")); NetDeviceContainer devs = csma.Install (c, channel); NS_LOG_INFO ("Create Applications.");