mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use the SLIST_NEXT macro instead of sle_next.
Checked with: cmp(1)
This commit is contained in:
parent
452329ad11
commit
299652afbc
1 changed files with 2 additions and 2 deletions
|
|
@ -2243,7 +2243,7 @@ list_pipes(void *data, uint nbytes, int ac, char *av[])
|
|||
char buf[30];
|
||||
char prefix[80];
|
||||
|
||||
if (p->next.sle_next != (struct dn_pipe *)DN_IS_PIPE)
|
||||
if (SLIST_NEXT(p, next) != (struct dn_pipe *)DN_IS_PIPE)
|
||||
break; /* done with pipes, now queues */
|
||||
|
||||
/*
|
||||
|
|
@ -2282,7 +2282,7 @@ list_pipes(void *data, uint nbytes, int ac, char *av[])
|
|||
for (fs = next; nbytes >= sizeof *fs; fs = next) {
|
||||
char prefix[80];
|
||||
|
||||
if (fs->next.sle_next != (struct dn_flow_set *)DN_IS_QUEUE)
|
||||
if (SLIST_NEXT(fs, next) != (struct dn_flow_set *)DN_IS_QUEUE)
|
||||
break;
|
||||
l = sizeof(*fs) + fs->rq_elements * sizeof(*q);
|
||||
next = (char *)fs + l;
|
||||
|
|
|
|||
Loading…
Reference in a new issue