diff options
-rw-r--r-- | sys/net/pf.c | 4 |
1 files 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); |