summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2015-02-10 09:28:41 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2015-02-10 09:28:41 +0000
commit67995875384350fb757db2f7491c2d58b088af0b (patch)
tree8b73c7ad31df080c24bd48f6abadc5c641c14519 /sys/net/pf.c
parent54d006ed012062423884374decf65fd4dd142d22 (diff)
include the "set prio" values.
no real compat issue since we're using spare bytes. old -> new ends up with set prio (0, 0) equivalent new -> old is entirely harmless, old ignores the prios. requested by Alexey Suslikov <alexey.suslikov at gmail> ok phessler pelikan dlg
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r--sys/net/pf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 6ffab243aba..ec5f14a7f4d 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.903 2015/02/10 06:45:55 henning Exp $ */
+/* $OpenBSD: pf.c,v 1.904 2015/02/10 09:28:40 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1142,6 +1142,8 @@ pf_state_export(struct pfsync_state *sp, struct pf_state *st)
sp->max_mss = htons(st->max_mss);
sp->min_ttl = st->min_ttl;
sp->set_tos = st->set_tos;
+ sp->set_prio[0] = st->set_prio[0];
+ sp->set_prio[1] = st->set_prio[1];
}
/* END state table stuff */