diff options
Diffstat (limited to 'test/rctest.c')
-rw-r--r-- | test/rctest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rctest.c b/test/rctest.c index 47039555..3d50ba95 100644 --- a/test/rctest.c +++ b/test/rctest.c @@ -279,8 +279,9 @@ void send_mode(int s) seq = 0; while ((num_frames == -1) || (num_frames-- > 0)) { - *(uint32_t *) buf = htobl(seq++); + *(uint32_t *) buf = htobl(seq); *(uint16_t *)(buf+4) = htobs(data_size); + seq++; if (send(s, buf, data_size, 0) <= 0) { syslog(LOG_ERR, "Send failed. %s(%d)", strerror(errno), errno); |