summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_divert.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/ip_divert.c')
-rw-r--r--sys/netinet/ip_divert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c
index 5cf0ecb..e4b82b9 100644
--- a/sys/netinet/ip_divert.c
+++ b/sys/netinet/ip_divert.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ip_divert.c,v 1.36 1999/02/08 05:48:46 julian Exp $
+ * $Id: ip_divert.c,v 1.37 1999/02/08 05:53:39 julian Exp $
*/
#include "opt_inet.h"
@@ -352,7 +352,7 @@ div_attach(struct socket *so, int proto, struct proc *p)
inp = sotoinpcb(so);
if (inp)
panic("div_attach");
- if (p && (error = suser(p->p_ucred, &p->p_acflag)) != 0)
+ if (p && (error = suser(p)) != 0)
return error;
s = splnet();
OpenPOWER on IntegriCloud