Recognise IPv6 PIM packets.
MFC after: 1 week
This commit is contained in:
parent
0b2314893a
commit
1c31b456b9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user