summaryrefslogtreecommitdiffstats
path: root/src/route.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/route.c')
-rw-r--r--src/route.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/route.c b/src/route.c
index 91b4944..163fb24 100644
--- a/src/route.c
+++ b/src/route.c
@@ -98,6 +98,8 @@ static void maintain_nexthops(gmrf_context_t *ctx, gp_babel_route_t *route) {
continue;
if (!nexthop->neigh->iface) {
+ // TODO find out what this is supposed to to
+
if (nexthop->metric_seqno.metric != GP_BABEL_INFINITY) {
nexthop->metric_seqno.metric = GP_BABEL_INFINITY;
nexthop->last_update = gmrf_now(ctx->gmrf);