diff options
Diffstat (limited to 'include/sibs/IpAddress.hpp')
-rw-r--r-- | include/sibs/IpAddress.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sibs/IpAddress.hpp b/include/sibs/IpAddress.hpp index 7b757f4..c3b43c4 100644 --- a/include/sibs/IpAddress.hpp +++ b/include/sibs/IpAddress.hpp @@ -30,6 +30,8 @@ namespace sibs std::string getAddress() const; unsigned short getPort() const; + + bool operator == (const Ipv4 &other) const; struct sockaddr_in address; }; |