summaryrefslogtreecommitdiff
path: root/zebra/zapi_msg.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-03-02 08:10:32 +0200
committerGitHub <noreply@github.com>2023-03-02 08:10:32 +0200
commit001ca23944578411da4f2742b64ea7d404fc7c10 (patch)
treeb915c306903eb9fcd82bd971c586787a33ae9376 /zebra/zapi_msg.c
parent32701c48d85074a8bb08196be129b429952e7d7d (diff)
parentd77da853f0f055244f5442e37b690809ab951a5a (diff)
Merge pull request #12008 from patrasar/pimv6_bsm_process
pimd, pim6d: Fix RPF check
Diffstat (limited to 'zebra/zapi_msg.c')
-rw-r--r--zebra/zapi_msg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index 59152df2f1..1ff188c76d 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -121,8 +121,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);