mirror of
https://github.com/mfontanini/libtins
synced 2026-01-29 21:14:28 +01:00
Added a traceroute example and made the existing examples compile.
This commit is contained in:
@@ -44,7 +44,12 @@ namespace Tins {
|
||||
operator uint32_t() const;
|
||||
operator std::string() const;
|
||||
|
||||
bool operator==(const std::string &rhs) const;
|
||||
std::string to_string() const;
|
||||
|
||||
bool operator==(const IPv4Address &rhs) const {
|
||||
return ip_addr == rhs.ip_addr;
|
||||
}
|
||||
|
||||
bool operator!=(const std::string &rhs) const {
|
||||
return !(*this == rhs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user