diff options
author | 2014-05-20 11:03:13 +0000 | |
---|---|---|
committer | 2014-05-20 11:03:13 +0000 | |
commit | a056e3eb9dc6d5d865e414b612dbbe7e79c49418 (patch) | |
tree | 661decf05f255bf1310788d6a8020602cd0e41b3 | |
parent | Fix eui64 address generation, broken since the removal of the link-layer (diff) | |
download | wireguard-openbsd-a056e3eb9dc6d5d865e414b612dbbe7e79c49418.tar.xz wireguard-openbsd-a056e3eb9dc6d5d865e414b612dbbe7e79c49418.zip |
Assign the queue ID to the correct packet header when sending ICMP messages.
ok henning@
-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 |