From: victor Date: Tue, 17 Nov 2009 12:33:14 +0000 (+0000) Subject: ups; I need time at different test hosts to be aligned X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=2e454c90573539b82ce117641a7d58093570c3c5;p=swift-upb.git ups; I need time at different test hosts to be aligned git-svn-id: https://ttuki.vtt.fi/svn/p2p-next/TUD/p2tp/trunk@572 e16421f0-f15b-0410-abcd-98678b794739 --- diff --git a/datagram.cpp b/datagram.cpp index f20b8f6..d549134 100644 --- a/datagram.cpp +++ b/datagram.cpp @@ -19,7 +19,7 @@ namespace p2tp { -tint Datagram::now = Datagram::Time()%360000000LL; +tint Datagram::now = Datagram::Time()/360000000LL*360000000LL; tint Datagram::epoch = now; uint32_t Address::LOCALHOST = INADDR_LOOPBACK; uint64_t Datagram::dgrams_up=0, Datagram::dgrams_down=0,