summaryrefslogtreecommitdiffstats
path: root/net-mgmt/tcptrack/files/patch-IPAddress.h
blob: e61740418644e04d465d9fb307796f63fdc71958 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/IPAddress.h.orig	2010-09-29 03:23:24.000000000 +0200
+++ src/IPAddress.h	2015-08-20 23:35:26.583907000 +0200
@@ -16,7 +16,7 @@ public:
 
 	virtual int GetType() const = 0;
 	virtual bool operator==( const IPAddress & ) const = 0;
-	virtual bool operator!=( const IPAddress & addr ) const { return !operator!=(addr); }
+	virtual bool operator!=( const IPAddress & addr ) const { return !operator==(addr); }
 	virtual char * ptr() const = 0;
 	virtual uint32_t hash() const = 0;
 	virtual IPAddress* Clone() const = 0;
OpenPOWER on IntegriCloud