From 01b143b3347a98911564f87bb831a672909bbf5c Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Fri, 22 Apr 2022 19:59:33 +0000 Subject: [PATCH] ... I'm certain I tested this yesterday --- src/surf/network_ns3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/surf/network_ns3.cpp b/src/surf/network_ns3.cpp index c342cfe7dc..3fbd4ca95e 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", ns3::StringValue ("{0, 0, WIFI_PHY_BAND_5GHZ, 0}")); + wifiPhy.Set ("ChannelSettings", ns3::StringValue ("{0, 0, BAND_5GHZ, 0}")); #endif std::string ssid = wifizone->get_name(); -- 2.20.1