-/* $OpenBSD: pf.c,v 1.945 2015/09/23 08:49:46 mpi Exp $ */
+/* $OpenBSD: pf.c,v 1.946 2015/10/08 11:36:51 dlg Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
s->key[PF_SK_STACK]->inp = pd.m->m_pkthdr.pf.inp;
}
+ if (s) {
+ pd.m->m_pkthdr.flowid = M_FLOWID_VALID |
+ (M_FLOWID_MASK & bemtoh64(&s->id));
+ }
+
/*
* connections redirected to loopback should not match sockets
* bound specifically to loopback due to security implications,