diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-03-18 18:33:25 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-03-18 18:33:25 +0100 |
commit | 5a077ac88402ea4ec5f25211c14f85ad18aa0f2d (patch) | |
tree | 9716c00ba1bbb28b3fe7d5f15a8b94fca34bf15c /src/babel.h | |
parent | 2d6ec74c73f9d8404bf48998eed3cb9733c4095f (diff) | |
download | babel-5a077ac88402ea4ec5f25211c14f85ad18aa0f2d.tar babel-5a077ac88402ea4ec5f25211c14f85ad18aa0f2d.zip |
Always update a route's nexthop as soon as the current nexthop is deleted (and clean up the route update code a bit)
Diffstat (limited to 'src/babel.h')
-rw-r--r-- | src/babel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/babel.h b/src/babel.h index 3564cf8..27748a7 100644 --- a/src/babel.h +++ b/src/babel.h @@ -134,7 +134,7 @@ void gp_babel_send_seqno_request(gmrf_context_t *ctx, gp_babel_neigh_t *neigh, g gp_babel_route_t* gp_babel_route_new(gmrf_context_t *ctx); gp_babel_route_t* gp_babel_route_find(gmrf_context_t *ctx, const gp_babel_node_id_t *node); gp_babel_route_t* gp_babel_route_get(gmrf_context_t *ctx, const gp_babel_node_id_t *node); -void gp_babel_route_update(gmrf_context_t *ctx, gp_babel_route_t *route); +void gp_babel_route_maintain(gmrf_context_t *ctx, gp_babel_route_t *route); void gp_babel_route_free(gmrf_context_t *ctx, gp_babel_route_t *route); gp_babel_nexthop_t* gp_babel_route_nexthop_new(gp_babel_route_t *route, gp_babel_neigh_t *neigh); |