Permalink
Browse files

RFC 6564 may allow us to parse the IPv6 unknown headers

  • Loading branch information...
1 parent 7591fc4 commit add31e069566ab67c56827f9b0ca02d46df51ae6 Stephane Bortzmeyer committed Apr 10, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 DNSmezzo/pcap-parse.c
View
4 DNSmezzo/pcap-parse.c
@@ -187,6 +187,10 @@ get_next_packet(struct dns_packet *decoded, pcap_parser_file * input)
next_v6_header = frag->frag_next;
size_header = SIZE_FRAGMENT_HDR;
} else {
+ /* TODO: RFC 6564 says that the *future* headers will
+ have the same format as Destination Options, with a
+ length field, so we may be able to jump them even
+ without knowledge of their content. */
end_of_headers = true;
}
where_am_i = where_am_i + size_header;

0 comments on commit add31e0

Please sign in to comment.