From a742bbf8610aae58fc6d6ee2377c83395b3ca535 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 28 Feb 2008 01:57:42 +0000 Subject: fixed PlainPacket get Src/Dst Address added toString to NetworkAddress --- networkAddress.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'networkAddress.h') diff --git a/networkAddress.h b/networkAddress.h index e4f5064..1192fb3 100644 --- a/networkAddress.h +++ b/networkAddress.h @@ -37,6 +37,7 @@ #include #include #include +#include enum network_address_type_t { @@ -57,6 +58,7 @@ public: void setNetworkAddress(const network_address_type_t type, const char * address ); void getNetworkAddress(const char *); network_address_type_t getNetworkAddressType(); + std::string toString() const; bool operator<(const NetworkAddress &s) const; NetworkAddress operator&(const NetworkAddress &s) const; NetworkAddress operator&=(const NetworkAddress &s); -- cgit v1.2.3