From 2ba80c056ef7e5c4ad928d15c60193374cb7bc77 Mon Sep 17 00:00:00 2001 From: Luke Wahlmeier Date: Wed, 24 Apr 2019 15:05:58 -0600 Subject: [PATCH] FS-11342: fixed hep3 capture_id --- libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c b/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c index 1c889da5f6..9bf65cff11 100644 --- a/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c +++ b/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c @@ -732,7 +732,7 @@ int tport_capt_msg_hepv3 (tport_t const *self, msg_t *msg, size_t n, /* Capture ID */ hg->capt_id.chunk.vendor_id = htons(0x0000); hg->capt_id.chunk.type_id = htons(0x000c); - hg->capt_id.data = htons(mr->mr_agent_id); + hg->capt_id.data = htonl(mr->mr_agent_id); hg->capt_id.chunk.length = htons(sizeof(hg->capt_id));