diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-06-01 04:17:31 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-06-01 04:17:31 +0000 |
commit | 551227565283bce9f8ef69ff903e26f70ecfed11 (patch) | |
tree | 031955610c4798374e96b3427eadf4a4d18b58e7 /usr.sbin/bgpd/rde_rib.c | |
parent | d7f3b01f971e332b79ee0f23c84b552600423d8e (diff) |
Remove a stupid wrapper function that does nothing more then calling another
function with the same arguments.
Diffstat (limited to 'usr.sbin/bgpd/rde_rib.c')
-rw-r--r-- | usr.sbin/bgpd/rde_rib.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/usr.sbin/bgpd/rde_rib.c b/usr.sbin/bgpd/rde_rib.c index eceda841893..609660f69c4 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.95 2007/05/11 11:27:59 claudio Exp $ */ +/* $OpenBSD: rde_rib.c,v 1.96 2007/06/01 04:17:30 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -235,16 +235,6 @@ path_remove(struct rde_aspath *asp) path_destroy(asp); } -void -path_updateall(struct rde_aspath *asp, enum nexthop_state state) -{ - if (rde_noevaluate()) - /* if the decision process is turned off this is a no-op */ - return; - - prefix_updateall(asp, state); -} - /* this function is only called by prefix_remove and path_remove */ void path_destroy(struct rde_aspath *asp) @@ -876,7 +866,7 @@ nexthop_update(struct kroute_nexthop *msg) return; LIST_FOREACH(asp, &nh->path_h, nexthop_l) { - path_updateall(asp, nh->state); + prefix_updateall(asp, nh->state); } } |