summaryrefslogtreecommitdiffstats
path: root/sys/netinet/raw_ip.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-01-25 10:11:58 +0000
committerbz <bz@FreeBSD.org>2009-01-25 10:11:58 +0000
commit6dddd783411fa0cbeeaea41c84e34d0d1b4c03f5 (patch)
tree8a1e6f499133aa96d5df9c89ddc8f54acc1a569f /sys/netinet/raw_ip.c
parent7102d2b52f842820300cfa86e6b6be6cc887c6bf (diff)
downloadFreeBSD-src-6dddd783411fa0cbeeaea41c84e34d0d1b4c03f5.zip
FreeBSD-src-6dddd783411fa0cbeeaea41c84e34d0d1b4c03f5.tar.gz
For consistency with prison_{local,remote,check}_ipN rename
prison_getipN to prison_get_ipN. Submitted by: jamie (as part of a larger patch) MFC after: 1 week
Diffstat (limited to 'sys/netinet/raw_ip.c')
-rw-r--r--sys/netinet/raw_ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index 9fe0eca..8f6d8ec 100644
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -371,7 +371,7 @@ rip_output(struct mbuf *m, struct socket *so, u_long dst)
ip->ip_p = inp->inp_ip_p;
ip->ip_len = m->m_pkthdr.len;
if (jailed(inp->inp_cred)) {
- if (prison_getip4(inp->inp_cred, &ip->ip_src)) {
+ if (prison_get_ip4(inp->inp_cred, &ip->ip_src) != 0) {
INP_RUNLOCK(inp);
m_freem(m);
return (EPERM);
OpenPOWER on IntegriCloud