diff options
-rw-r--r-- | sys/netipx/spx_usrreq.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c index 97c0a19..5d17f1e 100644 --- a/sys/netipx/spx_usrreq.c +++ b/sys/netipx/spx_usrreq.c @@ -89,6 +89,8 @@ __FBSDID("$FreeBSD$"); #include <netipx/spx_timer.h> #include <netipx/spx_var.h> +#include <security/mac/mac_framework.h> + /* * SPX protocol implementation. */ @@ -813,6 +815,10 @@ send: if (so->so_options & SO_DEBUG || traceallspxs) spx_trace(SA_OUTPUT, cb->s_state, cb, si, 0); +#ifdef MAC + mac_socket_create_mbuf(so, m); +#endif + if (so->so_options & SO_DONTROUTE) error = ipx_outputfl(m, NULL, IPX_ROUTETOIF); else |