NetAnim: Bug 2466 - a small bug in the AnimationInterface::ConnectCallbacks method
authorJohn Abraham <john.abraham.in@gmail.com>
Tue, 09 Aug 2016 19:00:49 -0700
changeset 12251 b7f2dfe39e02
parent 12250 40a2313c23d1
child 12252 0abf417c0040
NetAnim: Bug 2466 - a small bug in the AnimationInterface::ConnectCallbacks method
src/netanim/model/animation-interface.cc
--- a/src/netanim/model/animation-interface.cc	Tue Aug 09 23:40:33 2016 +0200
+++ b/src/netanim/model/animation-interface.cc	Tue Aug 09 19:00:49 2016 -0700
@@ -1377,9 +1377,9 @@
   // Connect the callbacks
   Config::Connect ("/ChannelList/*/TxRxPointToPoint",
                    MakeCallback (&AnimationInterface::DevTxTrace, this));
-  Config::Connect ("NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Phy/PhyTxBegin",
+  Config::Connect ("/NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Phy/PhyTxBegin",
                    MakeCallback (&AnimationInterface::WifiPhyTxBeginTrace, this));
-  Config::Connect ("NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Phy/PhyRxBegin",
+  Config::Connect ("/NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Phy/PhyRxBegin",
                    MakeCallback (&AnimationInterface::WifiPhyRxBeginTrace, this));
   Config::ConnectWithoutContext ("/NodeList/*/$ns3::MobilityModel/CourseChange",
                    MakeCallback (&AnimationInterface::MobilityCourseChangeTrace, this));