]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9078: [sofia-sip] fix typo in HEP3
authorMichael Jerris <mike@jerris.com>
Wed, 27 Apr 2016 20:33:56 +0000 (15:33 -0500)
committerMichael Jerris <mike@jerris.com>
Wed, 27 Apr 2016 20:34:17 +0000 (15:34 -0500)
libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c

index 01c025999384097b333363e602039f8cb15f44d9..b66989b99ef95bda2a00ca2ee48e290bbd8d3f49 100644 (file)
@@ -781,7 +781,7 @@ int tport_capt_msg_hepv3 (tport_t const *self, msg_t *msg, size_t n,
       /* IPv6 */
     else if(su->su_family == AF_INET6) {
         /* SRC IPv6 */
-        memcpy((char*) *buffer+buflen, &src_ip4, sizeof(struct hep_chunk_ip6));
+        memcpy((char*) *buffer+buflen, &src_ip6, sizeof(struct hep_chunk_ip6));
         buflen += sizeof(struct hep_chunk_ip6);
 
         memcpy((char*) *buffer+buflen, &dst_ip6, sizeof(struct hep_chunk_ip6));