Minor fix to stats example.

This commit is contained in:
Unknown
2009-03-18 11:19:18 -04:00
parent 40e2fc6e5e
commit e7b57ecce4

View File

@@ -127,7 +127,7 @@ int main(int argc, char *argv[]) {
nodes.Create(2);
NS_LOG_INFO("Installing WiFi and Internet stack.");
WifiHelper wifi;
WifiHelper wifi = WifiHelper::Default ();
wifi.SetMac("ns3::AdhocWifiMac");
YansWifiPhyHelper wifiPhy = YansWifiPhyHelper::Default ();
YansWifiChannelHelper wifiChannel = YansWifiChannelHelper::Default ();