Skip to content

Commit 3390d9b

Browse files
committed
right include
1 parent a500245 commit 3390d9b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

sys/altq/altq_cbq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ cbq_add_queue(struct npf_altq *a)
335335
return (EINVAL);
336336
}
337337

338-
opts = &a->pq_u.npf_cbq_opts;
338+
opts = &a->pq_u.cbq_opts;
339339
/* check parameters */
340340
if (a->priority >= CBQ_MAXPRI)
341341
return EINVAL;

sys/altq/altq_hfsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ hfsc_add_queue(struct npf_altq *a)
248248
if ((hif = a->altq_disc) == NULL)
249249
return EINVAL;
250250

251-
opts = &a->pq_u.npf_hfsc_opts;
251+
opts = &a->pq_u.hfsc_opts;
252252

253253
if (a->parent_qid == HFSC_NULLCLASS_HANDLE &&
254254
hif->hif_rootclass == NULL)

0 commit comments

Comments
 (0)