diff options
-rw-r--r-- | usr.sbin/bgpd/rde_rib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/rde_rib.c b/usr.sbin/bgpd/rde_rib.c index 1bf575ca15e..83c58939b0d 100644 --- a/usr.sbin/bgpd/rde_rib.c +++ b/usr.sbin/bgpd/rde_rib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_rib.c,v 1.252 2023/01/18 17:40:17 claudio Exp $ */ +/* $OpenBSD: rde_rib.c,v 1.253 2023/01/20 10:28:22 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -442,7 +442,7 @@ rib_dump_r(struct rib_context *ctx) struct bgpd_addr addr; pt_getaddr(re->prefix, &addr); if (prefix_compare(&ctx->ctx_subtree, &addr, - ctx->ctx_subtreelen) != 0) + ctx->ctx_subtreelen) != 0) /* left subtree, walk is done */ break; } @@ -1342,7 +1342,7 @@ prefix_dump_r(struct rib_context *ctx) struct bgpd_addr addr; pt_getaddr(p->pt, &addr); if (prefix_compare(&ctx->ctx_subtree, &addr, - ctx->ctx_subtreelen) != 0) + ctx->ctx_subtreelen) != 0) /* left subtree, walk is done */ break; } |