summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-02-27 14:46:10 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-02-27 14:46:10 +0000
commit37da3ed3c2b2b34f1f33ebe74bc19cdba20c6d4e (patch)
treee456c7ea89795416a12eb1bedfd64bdff50fb2d8 /usr.sbin/bgpd/rde.c
parent6f4a0ee4f833411758428c824ea231f408103a78 (diff)
Cleanup no functional changes. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
-rw-r--r--usr.sbin/bgpd/rde.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index 6322619511e..d51e7c94a35 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.89 2004/02/26 16:16:41 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.90 2004/02/27 14:46:09 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -689,7 +689,7 @@ rde_dump_as(struct as_filter *a, pid_t pid)
if (!aspath_match(asp->flags.aspath, a->type, a->as))
continue;
/* match found */
- ENSURE(!LIST_EMPTY(&asp->prefix_h));
+ ENSURE(!path_empty(asp));
rde_dump_rib(LIST_FIRST(&asp->prefix_h), pid);
for (p = LIST_NEXT(LIST_FIRST(&asp->prefix_h), path_l);
p != NULL; p = LIST_NEXT(p, path_l))