From 7dac03edb079489badc3d6d648ffd798e68aad01 Mon Sep 17 00:00:00 2001 From: claudio Date: Wed, 22 Jun 2022 12:28:33 +0000 Subject: [PATCH] Remove comment which is no longer true. --- usr.sbin/bgpd/kroute.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c index 7835959f844..25476db58d0 100644 --- a/usr.sbin/bgpd/kroute.c +++ b/usr.sbin/bgpd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.260 2022/06/19 10:30:09 claudio Exp $ */ +/* $OpenBSD: kroute.c,v 1.261 2022/06/22 12:28:33 claudio Exp $ */ /* * Copyright (c) 2022 Claudio Jeker @@ -2490,7 +2490,6 @@ kroute_match(struct ktable *kt, struct bgpd_addr *key, int matchall) struct kroute_node *kr; struct bgpd_addr masked; - /* this will never match the default route */ for (i = 32; i >= 0; i--) { applymask(&masked, key, i); if ((kr = kroute_find(kt, &masked, i, RTP_ANY)) != NULL) @@ -2508,7 +2507,6 @@ kroute6_match(struct ktable *kt, struct bgpd_addr *key, int matchall) struct kroute6_node *kr6; struct bgpd_addr masked; - /* this will never match the default route */ for (i = 128; i >= 0; i--) { applymask(&masked, key, i); if ((kr6 = kroute6_find(kt, &masked, i, RTP_ANY)) != NULL) -- 2.20.1