summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2006-08-05 13:58:50 +0000
committerstefanf <stefanf@FreeBSD.org>2006-08-05 13:58:50 +0000
commite39de9bd5c5f4f79e4ce5382bba0b9e1a1262b79 (patch)
treec9e1545d34637f851fdb59c456de7cab7f3e60fd /sbin
parent16e908679a7976ba0bdda9f7c61a40fdf5924f4a (diff)
downloadFreeBSD-src-e39de9bd5c5f4f79e4ce5382bba0b9e1a1262b79.zip
FreeBSD-src-e39de9bd5c5f4f79e4ce5382bba0b9e1a1262b79.tar.gz
Use the SLIST_NEXT macro instead of sle_next.
Checked with: cmp(1)
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipfw/ipfw2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
index 682a525..f5d8ed6 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -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;
OpenPOWER on IntegriCloud