From 0560edaa40d9b07ecce8dfed5d8952807e24a2a3 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Wed, 3 Jun 2009 09:48:31 +0200 Subject: [PATCH] bug 550: NetDevice::GetChannel method need clarification --- src/node/net-device.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;