summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2022-06-22 12:28:34 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2022-06-22 12:28:34 +0000
commit45802c2ed254218e948976238ce766503d616689 (patch)
treeb0566e1df361108ee83897f6e518d90eba4b0b8e /usr.sbin
parente310576a0926cacda50c1d40af654a871b1e8252 (diff)
Remove comment which is no longer true.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpd/kroute.c4
1 files changed, 1 insertions, 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 <claudio@openbsd.org>
@@ -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)