summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zebra/zserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c
index 921e500304..e93299d622 100644
--- a/zebra/zserv.c
+++ b/zebra/zserv.c
@@ -1609,7 +1609,7 @@ zread_ipv6_add (struct zserv *client, u_short length, struct zebra_vrf *zvrf)
if (CHECK_FLAG (message, ZAPI_MESSAGE_LABEL))
{
label = (mpls_label_t)stream_getl (s);
- labels[nh_count++] = label;
+ labels[nh_count] = label;
}
nexthops[nh_count++] = nhop_addr;
}