diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-03-28 16:47:40 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-03-28 16:47:40 +0000 |
commit | 5d31bde84edda966d79344348f8121cb60eb1cb4 (patch) | |
tree | 3f675a6cc3dfcd39f72d04d15d7e9414f00cdeed /sbin | |
parent | eee02cd72c68e27e6298bc58ea922200871a85cf (diff) |
assign qid early for priq too
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/pfctl_altq.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl_altq.c b/sbin/pfctl/pfctl_altq.c index 54e7f735f65..f537fbe996e 100644 --- a/sbin/pfctl/pfctl_altq.c +++ b/sbin/pfctl/pfctl_altq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_altq.c,v 1.46 2003/03/11 14:02:12 henning Exp $ */ +/* $OpenBSD: pfctl_altq.c,v 1.47 2003/03/28 16:47:39 henning Exp $ */ /* * Copyright (C) 2002 @@ -596,6 +596,9 @@ eval_pfqueue_priq(struct pfctl *pf, struct pf_altq *pa) } } + /* qid is tied to priority with priq */ + pa->qid = pa->priority + 1; + return (0); } |