summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zebra/zebra_rib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 98508aaa89..f5ee2dff90 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -505,6 +505,8 @@ static int nexthop_active(afi_t afi, struct route_entry *re,
}
resolved = 1;
}
+ if (resolved && set)
+ re->nexthop_mtu = match->mtu;
return resolved;
} else if (re->type == ZEBRA_ROUTE_STATIC) {
resolved = 0;