From 62c4bf0fd2b504798c120284958105681f9e20f6 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Thu, 28 Feb 2008 17:09:06 +0000 Subject: further routing fixes --- networkAddress.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'networkAddress.h') diff --git a/networkAddress.h b/networkAddress.h index 4217b4a..33cc4b5 100644 --- a/networkAddress.h +++ b/networkAddress.h @@ -56,6 +56,7 @@ public: NetworkAddress(in6_addr); NetworkAddress(in_addr); NetworkAddress(uint64_t); + NetworkAddress(const network_address_type_t type, const char * address ); ~NetworkAddress(); void setNetworkAddress(const network_address_type_t type, const char * address ); void getNetworkAddress(const char *); @@ -84,7 +85,7 @@ private: if (network_address_type_==ipv6) for(int i=0;i<4;i++) ar & ipv6_address_.s6_addr32; - if (network_address_type_==ethernet_address_) + if (network_address_type_==ethernet) ar & ethernet_address_; } }; -- cgit v1.2.3