diff options
author | 2007-06-09 18:30:47 +0000 | |
---|---|---|
committer | 2007-06-09 18:30:47 +0000 | |
commit | 0d758125435c815ba3114a84f0ce68fb778bb321 (patch) | |
tree | 6481a1cb20cc8df6dc359e18998305f3a8f172b8 /sys | |
parent | kill stupid character difference (diff) | |
download | wireguard-openbsd-0d758125435c815ba3114a84f0ce68fb778bb321.tar.xz wireguard-openbsd-0d758125435c815ba3114a84f0ce68fb778bb321.zip |
fix wrong argument passing to m_copyback for the log case
(&ptr instead of ptr). should fix pflog breakage seen by bob
Diffstat (limited to 'sys')
-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 3d435310f46..723bf349e4f 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.542 2007/06/09 16:32:00 henning Exp $ */ +/* $OpenBSD: pf.c,v 1.543 2007/06/09 18:30:47 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -3081,7 +3081,7 @@ pf_test_rule(struct pf_rule **rm, struct pf_state **sm, int direction, if (r->log || (nr != NULL && nr->natpass && nr->log)) { if (rewrite) - m_copyback(m, off, hdrlen, &pd->hdr.any); + m_copyback(m, off, hdrlen, pd->hdr.any); PFLOG_PACKET(kif, h, m, af, direction, reason, r->log ? r : nr, a, ruleset, pd); } |