summaryrefslogtreecommitdiff
path: root/zebra/connected.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/connected.c')
-rw-r--r--zebra/connected.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/connected.c b/zebra/connected.c
index 404f892f6e..974a1c17a2 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -185,6 +185,7 @@ void connected_up(struct interface *ifp, struct connected *ifc)
.type = NEXTHOP_TYPE_IFINDEX,
.ifindex = ifp->ifindex,
.vrf_id = ifp->vrf->vrf_id,
+ .weight = 1,
};
struct zebra_vrf *zvrf;
uint32_t metric;