From: claudio Date: Tue, 4 May 2021 09:21:05 +0000 (+0000) Subject: Update comment to match reality. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9f1086bfa013c8d9f4d10c9c3c3c1395278a1722;p=openbsd Update comment to match reality. --- diff --git a/usr.sbin/bgpd/rde_decide.c b/usr.sbin/bgpd/rde_decide.c index f842799a563..d071beb83bc 100644 --- a/usr.sbin/bgpd/rde_decide.c +++ b/usr.sbin/bgpd/rde_decide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_decide.c,v 1.84 2021/04/20 08:03:12 claudio Exp $ */ +/* $OpenBSD: rde_decide.c,v 1.85 2021/05/04 09:21:05 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker @@ -435,8 +435,10 @@ prefix_eligible(struct prefix *p) /* * Find the correct place to insert the prefix in the prefix list. - * If the active prefix has changed we need to send an update. - * The to evaluate prefix must not be in the prefix list. + * If the active prefix has changed we need to send an update also special + * treatment is needed if 'rde evaluate all' is used on some peers. + * To re-evaluate a prefix just call prefix_evaluate with old and new pointing + * to the same prefix. */ void prefix_evaluate(struct rib_entry *re, struct prefix *new, struct prefix *old)