Skip to content

Commit 13259cc

Browse files
authored
Merge pull request #671 from castillo-n/fix/ipv6-dst-anon-uses-src
Fix IPv6 destination anonymization using wrong address. Thanks @castillo-n
2 parents 6e39712 + 3f7df8c commit 13259cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nfanon/nfanon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ static inline void AnonRecord(recordHeaderV3_t *v3Record, int anon_src, int anon
209209
}
210210

211211
if (anon_dst) {
212-
anonymize_v6(ipv6Flow->srcAddr, anon_ip);
212+
anonymize_v6(ipv6Flow->dstAddr, anon_ip);
213213
ipv6Flow->dstAddr[0] = anon_ip[0];
214214
ipv6Flow->dstAddr[1] = anon_ip[1];
215215
}

0 commit comments

Comments
 (0)