GRRR! Fix the 'panic: ip6_init' caused by darrenr's incomplete changes

for the pfil hooks.  The protosw and ip6protosw structures were out of
sync with each other. :-(
This commit is contained in:
Peter Wemm 2000-08-02 01:02:42 +00:00
parent 302ec06f61
commit b17ec36839
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64118

View File

@ -71,6 +71,11 @@
#ifndef _NETINET6_IP6PROTOSW_H_
#define _NETINET6_IP6PROTOSW_H_
/*
* For pfil_head structure.
*/
#include <net/pfil.h>
/*
* Protocol switch table for IPv6.
* All other definitions should refer to sys/protosw.h
@ -126,6 +131,7 @@ struct ip6protosw {
void (*pr_drain) /* flush any excess space possible */
__P((void));
struct pr_usrreqs *pr_usrreqs; /* supersedes pr_usrreq() */
struct pfil_head pr_pfh;
};
#endif /* !_NETINET6_IP6PROTOSW_H_ */