diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-08 16:08:22 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-08 16:08:22 +0000 |
commit | 38725b4cacd776c378e4427633490a22125a2686 (patch) | |
tree | 33c9142d17191ed5bd2f7096b417fee40ae8b732 /usr.sbin/bgpd | |
parent | 7d301ed869dd9ff818e6f107d9853bd84d816a16 (diff) |
swap the last two parameters to TAILQ_FOREACH_REVERSE. matches what FreeBSD
and NetBSD do.
ok millert@ mcbride@ markus@ ho@, checked to not affect ports by naddy@
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/rde_attr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde_attr.c b/usr.sbin/bgpd/rde_attr.c index f85030b25aa..c04a4204cbe 100644 --- a/usr.sbin/bgpd/rde_attr.c +++ b/usr.sbin/bgpd/rde_attr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_attr.c,v 1.26 2004/03/20 23:17:35 david Exp $ */ +/* $OpenBSD: rde_attr.c,v 1.27 2004/04/08 16:08:21 henning Exp $ */ /* * Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org> @@ -488,7 +488,7 @@ attr_optadd(struct attr_flags *attr, u_int8_t flags, u_int8_t type, a->data = NULL; /* keep a sorted list */ - TAILQ_FOREACH_REVERSE(p, &attr->others, attr_l, attr_list) { + TAILQ_FOREACH_REVERSE(p, &attr->others, attr_list, attr_l) { if (type == p->type) { /* attribute only once allowed */ free(a->data); |