examples/wifi-wired-bridging.cc
changeset 4263 fec2f830d015
parent 4225 f1d873a81159
child 4264 9d2e96c4e6e4
--- a/examples/wifi-wired-bridging.cc	Wed Feb 25 12:27:00 2009 -0500
+++ b/examples/wifi-wired-bridging.cc	Sat Feb 28 16:25:24 2009 -0800
@@ -183,8 +183,11 @@
   apps.Start (Seconds (0.5));
   apps.Stop (Seconds (3.0));
   
-  YansWifiPhyHelper::EnablePcap ("wifi-wired-bridging", staNodes[1].Get (1));
-  YansWifiPhyHelper::EnablePcap ("wifi-wired-bridging", staNodes[0].Get (0));
+  WifiHelper::EnablePcap ("wifi-wired-bridging", staNodes[1].Get (1));
+  WifiHelper::EnablePcap ("wifi-wired-bridging", staNodes[0].Get (0));
+
+  YansWifiPhyHelper::EnablePcap ("wifi-wired-bridging-promisc", staNodes[1].Get (1));
+  YansWifiPhyHelper::EnablePcap ("wifi-wired-bridging-promisc", staNodes[0].Get (0));
   std::ofstream os;
   os.open ("wifi-wired-bridging.mob");
   MobilityHelper::EnableAsciiAll (os);