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 --- syncRouteCommand.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'syncRouteCommand.h') diff --git a/syncRouteCommand.h b/syncRouteCommand.h index 2e38eb4..a8e0e23 100644 --- a/syncRouteCommand.h +++ b/syncRouteCommand.h @@ -4,19 +4,20 @@ #include #include "threadUtils.hpp" -#include "networkAddress.h" +#include "networkPrefix.h" #include "routingTable.h" class SyncRouteCommand { public: - SyncRouteCommand(const NetworkAddress & ); + SyncRouteCommand(const NetworkPrefix & ); SyncRouteCommand(); - NetworkAddress getAddr() const; + NetworkPrefix getPrefix() const; private: SyncRouteCommand(const SyncRouteCommand &); - NetworkAddress addr_; + uint16_t count_; + NetworkPrefix addr_; friend class boost::serialization::access; template void serialize(Archive & ar, const unsigned int version) @@ -25,7 +26,7 @@ private: ar & addr_; u_int16_t & mux = gRoutingTable.getOrNewRoutingTEUnlocked(addr_); ar & mux; - } + }; }; -- cgit v1.2.3