diff --git a/src/ControlStream.c b/src/ControlStream.c index 2b5182e..82084c3 100644 --- a/src/ControlStream.c +++ b/src/ControlStream.c @@ -1392,7 +1392,7 @@ static void lossStatsThreadFunc(void* context) { char periodicPingPayload[8]; BbInitializeWrappedBuffer(&byteBuffer, periodicPingPayload, 0, sizeof(periodicPingPayload), BYTE_ORDER_LITTLE); - BbPut16(&byteBuffer, 4); // Length of payload + BbPut32(&byteBuffer, 4); // Length of payload BbPut32(&byteBuffer, 0); // Timestamp? while (!PltIsThreadInterrupted(&lossStatsThread)) {