diff --git a/src/olsr/helper/olsr-helper.h b/src/olsr/helper/olsr-helper.h index 0c2673964..0464ae586 100644 --- a/src/olsr/helper/olsr-helper.h +++ b/src/olsr/helper/olsr-helper.h @@ -49,8 +49,10 @@ public: /** * \brief Construct an OlsrHelper from another previously initialized instance * (Copy Constructor). + * + * \param o object to copy */ - OlsrHelper (const OlsrHelper &); + OlsrHelper (const OlsrHelper &o); /** * \returns pointer to clone of this OlsrHelper diff --git a/src/olsr/model/olsr-routing-protocol.h b/src/olsr/model/olsr-routing-protocol.h index 6dc497a2e..8edab1c1e 100644 --- a/src/olsr/model/olsr-routing-protocol.h +++ b/src/olsr/model/olsr-routing-protocol.h @@ -351,6 +351,11 @@ public: LocalDeliverCallback lcb, ErrorCallback ecb); virtual void SetIpv4 (Ptr ipv4); + + /** + * \returns the ipv4 object this routing protocol is associated with + */ + NS_DEPRECATED_3_34 virtual Ptr GetIpv4 (void) const; virtual void PrintRoutingTable (Ptr stream, Time::Unit unit = Time::S) const;