diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2001-06-26 04:02:51 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2001-06-26 04:02:51 +0000 |
commit | e4ef8762cbf818fa4099bbef65fdae939d8a3a8d (patch) | |
tree | 2680e8c0f9d0dd8550611e028ad413fe609c07eb /sys/net/pf.c | |
parent | f6d7a4c99d23c9e56c0a2516dd28d2786f45d938 (diff) |
sigh
Diffstat (limited to 'sys/net/pf.c')
-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); |