diff --git a/src/node/net-device.h b/src/node/net-device.h index dcbd06451..201979528 100644 --- a/src/node/net-device.h +++ b/src/node/net-device.h @@ -91,7 +91,9 @@ public: /** * \return the channel this NetDevice is connected to. The value * returned can be zero if the NetDevice is not yet connected - * to any channel. + * to any channel or if the underlying NetDevice has no + * concept of a channel. i.e., callers _must_ check for zero + * and be ready to handle it. */ virtual Ptr GetChannel (void) const = 0;