diff --git a/RELEASE_NOTES b/RELEASE_NOTES index b096f82f1..16167d90f 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -36,6 +36,7 @@ Bugs fixed - Bug 1943 - Waveform generator signal duration calc error - Bug 1951 - AODV does not update nexthop for 1-hop nodes - Bug 1955 - The IPv4 identification field should be unique per (source, destination, protocol) tuple +- Bug 1960 - Wrong information on index range, about Node::GetDevice Known issues ------------ diff --git a/src/network/model/node.h b/src/network/model/node.h index 7cec37e08..9826b6cd3 100644 --- a/src/network/model/node.h +++ b/src/network/model/node.h @@ -84,19 +84,18 @@ public: uint32_t GetSystemId (void) const; /** + * \brief Associate a NetDevice to this node. + * * \param device NetDevice to associate to this node. * \returns the index of the NetDevice into the Node's list of * NetDevice. - * - * Associate this device to this node. */ uint32_t AddDevice (Ptr device); /** - * \param index the index of the requested NetDevice - * \returns the requested NetDevice associated to this Node. + * \brief Retrieve the index-th NetDevice associated to this node. * - * The indexes used by the GetDevice method start at one and - * end at GetNDevices () + * \param index the index of the requested NetDevice + * \returns the requested NetDevice. */ Ptr GetDevice (uint32_t index) const; /** @@ -106,22 +105,23 @@ public: uint32_t GetNDevices (void) const; /** + * \brief Associate an Application to this Node. + * * \param application Application to associate to this node. * \returns the index of the Application within the Node's list * of Application. - * - * Associated this Application to this Node. */ uint32_t AddApplication (Ptr application); /** - * \param index - * \returns the application associated to this requested index - * within this Node. + * \brief Retrieve the index-th Application associated to this node. + * + * \param index the index of the requested Application + * \returns the requested Application. */ Ptr GetApplication (uint32_t index) const; /** - * \returns the number of applications associated to this Node. + * \returns the number of Application instances associated to this Node. */ uint32_t GetNApplications (void) const;