summaryrefslogtreecommitdiff
path: root/sys/net/if_trunk.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-12 10:07:15 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-12 10:07:15 +0000
commit99c72e5cd99254c79c11b9b9eaadffed9ef9bfb7 (patch)
treea294017eceae8ea5e333f687e313726188da5c10 /sys/net/if_trunk.c
parenta7ef133359c667d6c47bbf3b4ad2bdd05ba19416 (diff)
Prefix flowid with ph_ and print it in m_print().
ok dlg@
Diffstat (limited to 'sys/net/if_trunk.c')
-rw-r--r--sys/net/if_trunk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_trunk.c b/sys/net/if_trunk.c
index ee77fde80db..3fe22700419 100644
--- a/sys/net/if_trunk.c
+++ b/sys/net/if_trunk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_trunk.c,v 1.122 2015/10/25 12:05:40 mpi Exp $ */
+/* $OpenBSD: if_trunk.c,v 1.123 2015/11/12 10:07:14 mpi Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 Reyk Floeter <reyk@openbsd.org>
@@ -965,8 +965,8 @@ trunk_hashmbuf(struct mbuf *m, SIPHASH_KEY *key)
#endif
SIPHASH_CTX ctx;
- if (m->m_pkthdr.flowid & M_FLOWID_VALID)
- return (m->m_pkthdr.flowid & M_FLOWID_MASK);
+ if (m->m_pkthdr.ph_flowid & M_FLOWID_VALID)
+ return (m->m_pkthdr.ph_flowid & M_FLOWID_MASK);
SipHash24_Init(&ctx, key);
off = sizeof(*eh);