mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
IPv4Address now uses inet_pton when constructing from string.
This commit is contained in:
@@ -177,7 +177,7 @@ public:
|
||||
*/
|
||||
friend std::ostream &operator<<(std::ostream &output, const IPv4Address &addr);
|
||||
private:
|
||||
uint32_t ip_to_int(const std::string &ip);
|
||||
uint32_t ip_to_int(const char* ip);
|
||||
|
||||
uint32_t ip_addr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user