From db8156e11618204a38fda43d4239d0d622fa5c98 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 9 Mar 2019 00:38:31 +0100 Subject: [PATCH] hypersim: increment sequence number with each timestep --- clients/hypersim/model/ucm_node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/hypersim/model/ucm_node.def b/clients/hypersim/model/ucm_node.def index a3d2dcfd6..95b994383 100644 --- a/clients/hypersim/model/ucm_node.def +++ b/clients/hypersim/model/ucm_node.def @@ -723,7 +723,7 @@ struct sockaddr_in rec_addr; struct msg *msg = (struct msg *) buf; struct timespec now; - unsigned int sequence = 0; + static unsigned sequence; if (switchs == 1) { clock_gettime(CLOCK_REALTIME, &now);