From 2e454c90573539b82ce117641a7d58093570c3c5 Mon Sep 17 00:00:00 2001 From: victor Date: Tue, 17 Nov 2009 12:33:14 +0000 Subject: [PATCH] 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 --- datagram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.20.1