diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2005-03-04 11:01:33 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2005-03-04 11:01:33 +0000 |
commit | 5c2f48ba0a0912ff6e3dc0e550cee10cf1f76767 (patch) | |
tree | 93beb22dbd7b51f513e0358e7c1a0da70a83ba0d /sys | |
parent | e767e91e9c792a26ff3eb559e9491a39f38a8d34 (diff) |
add state's tag for IPv6, too. spotted by markus@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/pf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index dd775bcff49..b8f9c790a9d 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.481 2005/03/03 07:13:39 dhartmei Exp $ */ +/* $OpenBSD: pf.c,v 1.482 2005/03/04 11:01:32 dhartmei Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -6221,6 +6221,9 @@ pf_test6(int dir, struct ifnet *ifp, struct mbuf **m0, done: /* XXX handle IPv6 options, if not allowed. not implemented. */ + if (s && s->tag) + pf_tag_packet(m, pf_get_tag(m), s->tag); + #ifdef ALTQ if (action == PF_PASS && r->qid) { struct m_tag *mtag; |