From e4ef8762cbf818fa4099bbef65fdae939d8a3a8d Mon Sep 17 00:00:00 2001 From: Niels Provos Date: Tue, 26 Jun 2001 04:02:51 +0000 Subject: sigh --- sys/net/pf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/pf.c b/sys/net/pf.c index a12595f1b2b..b5f6f978703 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.41 2001/06/26 04:00:29 provos Exp $ */ +/* $OpenBSD: pf.c,v 1.42 2001/06/26 04:02:50 provos Exp $ */ /* * Copyright (c) 2001, Daniel Hartmeier @@ -362,7 +362,7 @@ pflog_packet(struct mbuf *m, int af, short dir, int nr, struct pf_rule *rm) struct pfloghdr hdr; struct mbuf m1; - if (mbuf == NULL) + if (m == NULL) return(-1); hdr.af = htonl(af); -- cgit v1.2.3