diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2005-07-01 18:59:16 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2005-07-01 18:59:16 +0000 |
commit | 92ab15d29618dd968fdab5ee0be18ce4e5c3f7c7 (patch) | |
tree | 74c1d5a470891f44d61933c0c3882f762a3e0eb8 /usr.sbin/bgpctl/bgpctl.c | |
parent | 3168950c92fdf19f473ed9a0ceb84c0eb512d109 (diff) |
fix breakage; if this proves to be wrong, will be fixed later. at least
make build will work now.
Diffstat (limited to 'usr.sbin/bgpctl/bgpctl.c')
-rw-r--r-- | usr.sbin/bgpctl/bgpctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c index 002ac46c9a0..00142eca400 100644 --- a/usr.sbin/bgpctl/bgpctl.c +++ b/usr.sbin/bgpctl/bgpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpctl.c,v 1.87 2005/06/13 08:16:30 claudio Exp $ */ +/* $OpenBSD: bgpctl.c,v 1.88 2005/07/01 18:59:14 fgsch Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -986,10 +986,10 @@ send_filterset(struct imsgbuf *i, struct filter_set_head *set) { struct filter_set *s; - while ((s = SIMPLEQ_FIRST(set)) != NULL) { + while ((s = TAILQ_FIRST(set)) != NULL) { imsg_compose(i, IMSG_FILTER_SET, 0, 0, -1, s, sizeof(struct filter_set)); - SIMPLEQ_REMOVE_HEAD(set, entry); + TAILQ_REMOVE(set, s, entry); free(s); } } |