From 92ab15d29618dd968fdab5ee0be18ce4e5c3f7c7 Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Fri, 1 Jul 2005 18:59:16 +0000 Subject: fix breakage; if this proves to be wrong, will be fixed later. at least make build will work now. --- usr.sbin/bgpctl/bgpctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/bgpctl/bgpctl.c') 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 @@ -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); } } -- cgit v1.2.3