Include correct opt_* headers for supported address families. Dike out
the unused ATM cases. Sponsored by: DARPA, NAI Labs
This commit is contained in:
parent
dc6503c166
commit
bb37d0268c
@ -50,6 +50,11 @@
|
||||
* This node also includes Berkeley packet filter support.
|
||||
*/
|
||||
|
||||
#include "opt_atalk.h"
|
||||
#include "opt_inet.h"
|
||||
#include "opt_inet6.h"
|
||||
#include "opt_ipx.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/errno.h>
|
||||
@ -773,16 +778,6 @@ ng_iface_rcvdata(hook_p hook, item_p item)
|
||||
case AF_APPLETALK:
|
||||
isr = NETISR_ATALK2;
|
||||
break;
|
||||
#endif
|
||||
#ifdef NATM
|
||||
case AF_NATM:
|
||||
isr = NETISR_NATM;
|
||||
break;
|
||||
#endif
|
||||
#ifdef ATM_CORE
|
||||
case AF_ATM:
|
||||
isr = NETISR_ATM;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
m_freem(m);
|
||||
|
Loading…
Reference in New Issue
Block a user