summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw2.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-10-26 13:18:38 +0000
committerrwatson <rwatson@FreeBSD.org>2007-10-26 13:18:38 +0000
commita3b8fc4866545652607bccb0d3d248e512463e35 (patch)
tree5126fbd4b18174fda8e90bc084911557af9f87ae /sys/netinet/ip_fw2.c
parent6edabeb2b453e55413bf787226f2563ce3c4a5da (diff)
downloadFreeBSD-src-a3b8fc4866545652607bccb0d3d248e512463e35.zip
FreeBSD-src-a3b8fc4866545652607bccb0d3d248e512463e35.tar.gz
Rename 'mac_mbuf_create_from_firewall' to 'mac_netinet_firewall_send' as
we move towards netinet as a pseudo-object for the MAC Framework. Rename 'mac_create_mbuf_linklayer' to 'mac_mbuf_create_linklayer' to reflect general object-first ordering preference. Sponsored by: SPARTA (original patches against Mac OS X) Obtained from: TrustedBSD Project, Apple Computer
Diffstat (limited to 'sys/netinet/ip_fw2.c')
-rw-r--r--sys/netinet/ip_fw2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c
index db407e5..b815707 100644
--- a/sys/netinet/ip_fw2.c
+++ b/sys/netinet/ip_fw2.c
@@ -1621,7 +1621,7 @@ send_pkt(struct mbuf *replyto, struct ipfw_flow_id *id, u_int32_t seq,
if (replyto != NULL)
mac_mbuf_create_netlayer(replyto, m);
else
- mac_mbuf_create_from_firewall(m);
+ mac_netinet_firewall_send(m);
#else
(void)replyto; /* don't warn about unused arg */
#endif
OpenPOWER on IntegriCloud