diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2021-05-04 09:21:06 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2021-05-04 09:21:06 +0000 |
commit | 52549ac5469c17f2b81cd28d9ce3a5e5178944fe (patch) | |
tree | e7a47634b222dae0eae842f2094dd18c5130b4af /usr.sbin/bgpd | |
parent | 3c5fd9e0b34079359880c7c36d0b7b78bc43597d (diff) |
Update comment to match reality.
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/rde_decide.c | 8 |
1 files changed, 5 insertions, 3 deletions
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 <claudio@openbsd.org> @@ -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) |