diff --git a/src/devices/point-to-point/point-to-point-channel.cc b/src/devices/point-to-point/point-to-point-channel.cc index 154f51784..af0871223 100644 --- a/src/devices/point-to-point/point-to-point-channel.cc +++ b/src/devices/point-to-point/point-to-point-channel.cc @@ -136,7 +136,7 @@ Ptr PointToPointChannel::GetDevice (uint32_t i) const { NS_LOG_FUNCTION; - return GetDevice (i); + return GetPointToPointDevice (i); }