Recognise IPv6 PIM packets.

MFC after:	1 week
This commit is contained in:
John Hay 2006-08-31 16:56:45 +00:00
parent 0b2314893a
commit 1c31b456b9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161767

View File

@ -72,6 +72,7 @@
#include <netinet/ip_fw.h>
#include <netinet/ip_divert.h>
#include <netinet/ip_dummynet.h>
#include <netinet/pim.h>
#include <netinet/tcp.h>
#include <netinet/tcp_timer.h>
#include <netinet/tcp_var.h>
@ -2263,6 +2264,11 @@ do { \
PULLUP_TO(hlen, ulp, struct ip6_ext);
break;
case IPPROTO_PIM:
/* XXX PIM header check? */
PULLUP_TO(hlen, ulp, struct pim);
break;
case IPPROTO_IPV6: /* RFC 2893 */
PULLUP_TO(hlen, ulp, struct ip6_hdr);
break;