Skip to content

Commit 144011a

Browse files
committed
Fix broken encoding of keep alive messages
The encoding was broken by the recent changes that added encryption support for HI1 notifications.
1 parent 1dbdbb6 commit 144011a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/collector/etsiencoding/tripayload.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ wandder_encoded_result_t *encode_etsi_keepalive(wandder_encoder_t *encoder,
9999
struct timeval tv;
100100

101101
gettimeofday(&tv, NULL);
102+
ENC_USEQUENCE(encoder);
102103
encode_etsili_pshdr(encoder, hdrdata, 0, seqno, &tv, timefmt);
103104
ENC_CSEQUENCE(encoder, 2); // Payload
104105
ENC_CSEQUENCE(encoder, 2); // TRIPayload

0 commit comments

Comments
 (0)