Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'Adrien.Gougeon/simgrid-master'
[simgrid.git] / src / kernel / routing / WifiZone.cpp
index 4c64420..b375032 100644 (file)
@@ -29,7 +29,7 @@ void WifiZone::seal()
     xbt_assert(access_point_ != nullptr, "Access point '%s' of WIFI zone '%s' does not exist: no such host or router.",
                AP_name, get_cname());
     xbt_assert(access_point_->is_host() || access_point_->is_router(),
-               "Access point '%s' of WIFI zone '%s' must be either an host or a router.", AP_name, get_cname());
+               "Access point '%s' of WIFI zone '%s' must be either a host or a router.", AP_name, get_cname());
   }
 }
 
@@ -39,7 +39,7 @@ void WifiZone::get_local_route(NetPoint* src, NetPoint* dst, RouteCreationArgs*
 
   if (wifi_link_ != nullptr) {
     // If src and dst are nodes, not access_point, we need to traverse the link twice
-    // Otherwise (if src or dst is access_poit), we need to traverse the link only once
+    // Otherwise (if src or dst is access_point), we need to traverse the link only once
 
     if (src != access_point_) {
       XBT_DEBUG("src %s is not our gateway", src->get_cname());