diff options
author | glebius <glebius@FreeBSD.org> | 2005-11-29 12:01:26 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-11-29 12:01:26 +0000 |
commit | 9cc098a3bd2c8b2b9ba834027a93f61317ac4f92 (patch) | |
tree | 012840d885b71e3a668de473ba06cdd9762ca494 /sbin/ipfw | |
parent | 573fa22624a039c6951af0f89956b8c6e7db7c6b (diff) | |
download | FreeBSD-src-9cc098a3bd2c8b2b9ba834027a93f61317ac4f92.zip FreeBSD-src-9cc098a3bd2c8b2b9ba834027a93f61317ac4f92.tar.gz |
Catch up with ip_dummynet.h rev. 1.38 and fix build.
Diffstat (limited to 'sbin/ipfw')
-rw-r--r-- | sbin/ipfw/ipfw2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c index 26237eb..fdba58a 100644 --- a/sbin/ipfw/ipfw2.c +++ b/sbin/ipfw/ipfw2.c @@ -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; |