diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c index a2233a6667..c0945eae2d 100644 --- a/zebra/zapi_msg.c +++ b/zebra/zapi_msg.c @@ -134,8 +134,6 @@ static int zserv_encode_nexthop(struct stream *s, struct nexthop *nexthop) stream_putl(s, nexthop->ifindex); break; case NEXTHOP_TYPE_IPV6: - stream_put(s, &nexthop->gate.ipv6, 16); - break; case NEXTHOP_TYPE_IPV6_IFINDEX: stream_put(s, &nexthop->gate.ipv6, 16); stream_putl(s, nexthop->ifindex);