fix typo in memcpy call

This commit is contained in:
Andreas Heil 2020-04-19 15:39:08 +02:00 committed by Kaian
parent e7937f2d2d
commit d037bd4f56
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@ capture_eep_send_v3(packet_t *pkt)
/* IPv6 */
else if(pkt->ip_version == 6) {
/* SRC IPv6 */
memcpy((void*) buffer+buflen, &src_ip4, sizeof(struct hep_chunk_ip6));
memcpy((void*) buffer+buflen, &src_ip6, sizeof(struct hep_chunk_ip6));
buflen += sizeof(struct hep_chunk_ip6);
memcpy((void*) buffer+buflen, &dst_ip6, sizeof(struct hep_chunk_ip6));