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());
}
}
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());