diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-02-02 19:14:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-02-02 19:14:12 +0000 |
commit | db70b5526640c32c6b486df5582a584c302757fd (patch) | |
tree | 30e4d74d5529555e1dd3fc793aa933c9eecf3b03 | |
parent | d4cf9d0a7573895f6f3b615de2b4c93dc21f653c (diff) |
spaces
-rw-r--r-- | usr.sbin/bgpd/rde.c | 4 | ||||
-rw-r--r-- | usr.sbin/bgpd/rde_rib.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 110115f0f71..ae6bef42ba9 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.72 2004/02/02 18:56:25 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.73 2004/02/02 19:14:11 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -660,7 +660,7 @@ rde_generate_updates(struct prefix *new, struct prefix *old) * On the other hand new may be UNREACH and then we should not * generate an update. */ - if (old == NULL && (new == NULL || + if (old == NULL && (new == NULL || new->aspath->nexthop->state != NEXTHOP_REACH)) return; diff --git a/usr.sbin/bgpd/rde_rib.c b/usr.sbin/bgpd/rde_rib.c index 48e1f3647fd..9fad5ce7bcb 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.30 2004/02/02 18:56:25 claudio Exp $ */ +/* $OpenBSD: rde_rib.c,v 1.31 2004/02/02 19:14:11 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -899,7 +899,7 @@ prefix_updateall(struct rde_aspath *asp, enum nexthop_state state) * the active prefix changes it's state. In this case * we know that this is a withdrawl and so the second * prefix_evaluate() will generate no update because - * the nexthop is unreachable or ineligible. + * the nexthop is unreachable or ineligible. */ if (p == p->prefix->active) prefix_evaluate(NULL, p->prefix); |