summaryrefslogtreecommitdiffstats
path: root/src/babel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/babel.c')
-rw-r--r--src/babel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/babel.c b/src/babel.c
index fb2d165..0fab0a7 100644
--- a/src/babel.c
+++ b/src/babel.c
@@ -93,7 +93,7 @@ static void maintain_routes(gmrf_context_t *ctx) {
gp_babel_route_t *route = *cur;
next = &route->next;
- gp_babel_route_update(ctx, route);
+ gp_babel_route_maintain(ctx, route);
if (!route->nexthops && gp_babel_since(ctx, route->last_nexthop) > GP_BABEL_PURGE_TIMEOUT) {
gmrf_logf(ctx->gmrf, LOG_DEBUG, "node %04x%04x (%u, seqno=%04x): purging.",