summaryrefslogtreecommitdiff
path: root/sys/netinet/raw_ip.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-08-15 18:51:27 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-08-15 18:51:27 +0000
commitfb95b5d3c3d91d5c06e16abf161c11d4be32fb7a (patch)
tree470986e91feb7d5a517a603465e7a4febc995bb4 /sys/netinet/raw_ip.c
parentd61198e422e40a336aa2bcefe4e97511b78315b6 (diff)
Notes
Diffstat (limited to 'sys/netinet/raw_ip.c')
-rw-r--r--sys/netinet/raw_ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index 99d326418d61..76cdeb6243e3 100644
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -159,7 +159,7 @@ rip_input(m, off)
#endif /*IPSEC*/
#ifdef MAC
if (policyfail == 0 &&
- mac_check_socket_receive(last->inp_socket,
+ mac_check_socket_deliver(last->inp_socket,
n) != 0)
policyfail = 1;
#endif
@@ -196,7 +196,7 @@ rip_input(m, off)
}
#endif /*IPSEC*/
#ifdef MAC
- if (mac_check_socket_receive(last->inp_socket, m) != 0) {
+ if (mac_check_socket_deliver(last->inp_socket, m) != 0) {
m_freem(m);
ipstat.ips_delivered--;
return;