From ae3955b4d84c5654e58b95d7475cc4323e156eac Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Thu, 28 Feb 2008 15:20:17 +0000 Subject: fixed route serialisation --- networkAddress.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'networkAddress.h') diff --git a/networkAddress.h b/networkAddress.h index ccc0750..44c5b59 100644 --- a/networkAddress.h +++ b/networkAddress.h @@ -79,8 +79,9 @@ private: void serialize(Archive & ar, const unsigned int version) { ar & network_address_type_; - ar & ipv4_address_; - ar & ipv6_address_; + ar & ipv4_address_.s_addr; + for(int i=0;i<4;i++) + ar & ipv6_address_.s6_addr32; ar & ethernet_address_; } }; -- cgit v1.2.3