Commit 27c93270 authored by Stig Venaas's avatar Stig Venaas
Browse files

added IPv6 ttl anon

git-svn-id: file:///home/svn/mapi/trunk@881 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 4b6714da
...@@ -575,6 +575,10 @@ void anonymize_field(int protocol, int field, int function,mapipacket *packet,st ...@@ -575,6 +575,10 @@ void anonymize_field(int protocol, int field, int function,mapipacket *packet,st
header_pointer = field_pointer; header_pointer = field_pointer;
len = header_len = packet->ipdsize; len = header_len = packet->ipdsize;
break; break;
case TTL:
field_pointer = (unsigned char *)&packet->ip6h->ip6_hlim;
len = 1;
break;
case SRC_IP: case SRC_IP:
field_pointer = (unsigned char *)&packet->ip6h->ip6_src; field_pointer = (unsigned char *)&packet->ip6h->ip6_src;
len = 16; len = 16;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment