From: Augustin Degomme Date: Fri, 22 Apr 2022 19:00:06 +0000 (+0000) Subject: Update network_ns3.cpp X-Git-Tag: v3.32~305 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7de87de7eb5aa8320d0c14550d1c157a50dffd13 Update network_ns3.cpp --- diff --git a/src/surf/network_ns3.cpp b/src/surf/network_ns3.cpp index 9f8300862e..c342cfe7dc 100644 --- a/src/surf/network_ns3.cpp +++ b/src/surf/network_ns3.cpp @@ -102,7 +102,7 @@ static void zoneCreation_cb(simgrid::s4u::NetZone const& zone) wifi.SetStandard(ns3::WIFI_STANDARD_80211n_5GHZ); #else wifi.SetStandard(ns3::WIFI_STANDARD_80211n); - wifiPhy.Set ("ChannelSettings", StringValue ("{0, 0, WIFI_PHY_BAND_5GHZ, 0}")); + wifiPhy.Set ("ChannelSettings", ns3::StringValue ("{0, 0, WIFI_PHY_BAND_5GHZ, 0}")); #endif std::string ssid = wifizone->get_name();