Catch up with ip_dummynet.h rev. 1.38 and fix build.

This commit is contained in:
Gleb Smirnoff 2005-11-29 12:01:26 +00:00
parent 2f1b461447
commit e36ffd3b15

View File

@ -2163,7 +2163,7 @@ list_pipes(void *data, uint nbytes, int ac, char *av[])
char buf[30];
char prefix[80];
if (p->next != (struct dn_pipe *)DN_IS_PIPE)
if (p->next.sle_next != (struct dn_pipe *)DN_IS_PIPE)
break; /* done with pipes, now queues */
/*
@ -2202,7 +2202,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 != (struct dn_flow_set *)DN_IS_QUEUE)
if (fs->next.sle_next != (struct dn_flow_set *)DN_IS_QUEUE)
break;
l = sizeof(*fs) + fs->rq_elements * sizeof(*q);
next = (char *)fs + l;