Skip to content

Commit a500245

Browse files
committed
right include
1 parent 3765a05 commit a500245

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

sys/altq/altq_cbq.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ cbq_add_queue(struct npf_altq *a)
313313
struct rm_class *borrow, *parent;
314314
cbq_state_t *cbqp;
315315
struct rm_class *cl;
316-
struct cbq_opts *opts;
316+
struct npf_cbq_opts *opts;
317317
int i, error;
318318

319319
if ((cbqp = a->altq_disc) == NULL)
@@ -335,7 +335,7 @@ cbq_add_queue(struct npf_altq *a)
335335
return (EINVAL);
336336
}
337337

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

sys/altq/altq_hfsc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,13 @@ hfsc_add_queue(struct npf_altq *a)
242242
{
243243
struct hfsc_if *hif;
244244
struct hfsc_class *cl, *parent;
245-
struct hfsc_opts *opts;
245+
struct npf_hfsc_opts *opts;
246246
struct service_curve rtsc, lssc, ulsc;
247247

248248
if ((hif = a->altq_disc) == NULL)
249249
return EINVAL;
250250

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

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

sys/altq/altq_priq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ priq_add_queue(struct npf_altq *a)
180180
return EBUSY;
181181

182182
cl = priq_class_create(pif, a->priority, a->qlimit,
183-
a->pq_u.priq_opts.flags, a->qid);
183+
a->pq_u.npf_priq_opts.flags, a->qid);
184184
if (cl == NULL)
185185
return ENOMEM;
186186

0 commit comments

Comments
 (0)