Fix bug 125 (make helper function non-virtual)
authorTom Henderson <tomh@tomh.org>
Wed Jan 09 22:09:21 2008 -0800 (2008-01-09)
changeset 2214a239cc3d89c3
parent 2213 4dcdf900e93a
child 2215 9dda69de4ca7
Fix bug 125 (make helper function non-virtual)
src/node/ipv4.h
     1.1 --- a/src/node/ipv4.h	Tue Jan 08 17:45:57 2008 +0000
     1.2 +++ b/src/node/ipv4.h	Wed Jan 09 22:09:21 2008 -0800
     1.3 @@ -451,13 +451,15 @@
     1.4  
     1.5    /**
     1.6     * \brief Convenience function to return the ifIndex corresponding
     1.7 -   * to the Ipv4Address provided
     1.8 +   * to the Ipv4Address provided.  If an Ipv4Mask is provided also,
     1.9 +   * then the address is masked, which allows one to determine the 
    1.10 +   * interface corresponding to a network prefix.
    1.11     *
    1.12     * \param addr Ipv4Address
    1.13     * \param mask corresponding Ipv4Mask
    1.14     * \returns ifIndex corresponding to a/amask
    1.15     */
    1.16 -  virtual uint32_t GetIfIndexByAddress (Ipv4Address addr, 
    1.17 +  uint32_t GetIfIndexByAddress (Ipv4Address addr, 
    1.18      Ipv4Mask mask = Ipv4Mask("255.255.255.255"));
    1.19  };
    1.20