diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-05-20 11:03:14 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-05-20 11:03:14 +0000 |
commit | 19b372911fd4bad70c4f2bcde990069a1cf77ef6 (patch) | |
tree | 0eeb5a6096058870710eeaee4fe8b8dc658e7ef7 /sys/net | |
parent | b9c0d8f7f8d5b75930aa9ee0f4120ed45a1d57b6 (diff) |
Assign the queue ID to the correct packet header when sending ICMP messages.
ok henning@
Diffstat (limited to 'sys/net')
-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 50bd84e6fe9..45be0738e70 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.877 2014/04/24 11:55:12 henning Exp $ */ +/* $OpenBSD: pf.c,v 1.878 2014/05/20 11:03:13 mpi Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -2464,7 +2464,7 @@ pf_send_icmp(struct mbuf *m, u_int8_t type, u_int8_t code, sa_family_t af, if (r && (r->scrub_flags & PFSTATE_SETPRIO)) m0->m_pkthdr.pf.prio = r->set_prio[0]; if (r && r->qid) - m->m_pkthdr.pf.qid = r->qid; + m0->m_pkthdr.pf.qid = r->qid; switch (af) { #ifdef INET |