Merge remote-tracking branch 'origin/fastpath'

* origin/fastpath:
  Add to_subnet bif (fixes #782).
  Refactor IPAddr v4 initialization from string. (fixes #775)

Closes #782.
Closes #775.
Closes #784.
This commit is contained in:
Robin Sommer 2012-02-24 15:26:18 -08:00
commit 2eeac54857
10 changed files with 72 additions and 57 deletions

View file

@ -325,14 +325,6 @@ public:
unsigned int MemoryAllocation() const { return padded_sizeof(*this); }
/**
* Returns a canonicalized IPv4 dotted-decimal string such that
* leading zeroes of each decimal part are removed.
*
* @param s String containing an IPv4 address in dotted-decimal notation.
*/
static std::string CanonIPv4(const std::string& s);
private:
/**
* Initializes an address instance from a string representation.