src/internet/model/ipv4-interface.h
changeset 9915 d4c2228d3c30
parent 7385 10beb0e53130
child 10440 1e48ff9185f1
--- a/src/internet/model/ipv4-interface.h	Tue Jul 09 19:15:20 2013 +0200
+++ b/src/internet/model/ipv4-interface.h	Tue Jul 09 19:21:07 2013 +0200
@@ -152,6 +152,15 @@
    */
   Ipv4InterfaceAddress RemoveAddress (uint32_t index);
 
+  /**
+   * \brief Remove the given Ipv4 address from the interface.
+   * \param address The Ipv4 address to remove
+   * \returns The removed Ipv4 interface address 
+   * \returns The null interface address if the interface did not contain the 
+   * address or if loopback address was passed as argument
+   */
+  Ipv4InterfaceAddress RemoveAddress (Ipv4Address address);
+
 protected:
   virtual void DoDispose (void);
 private: