]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11342: fixed hep3 capture_id
authorLuke Wahlmeier <lwahlmeier@gmail.com>
Wed, 24 Apr 2019 21:05:58 +0000 (15:05 -0600)
committerLuke Wahlmeier <lwahlmeier@gmail.com>
Wed, 24 Apr 2019 21:07:32 +0000 (15:07 -0600)
libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c

index 1c889da5f6b0b618ced4eaa0c39e36435007484c..9bf65cff11c5b99d5818e057fc19fbcf2820bde2 100644 (file)
@@ -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));