From 1f5611c06d1c243b42279748788f0627793ead9c Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 24 Jul 2023 11:16:53 -0400 Subject: zebra: Allow zebra cli to accept v6 routes with v4 nexthops add --v6-with-v4-nexthop cli to zebra to allow operator to specify that this functionality is allowed. Signed-off-by: Donald Sharp --- zebra/zebra_router.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'zebra/zebra_router.h') diff --git a/zebra/zebra_router.h b/zebra/zebra_router.h index a7f0f135f9..bd86cfb495 100644 --- a/zebra/zebra_router.h +++ b/zebra/zebra_router.h @@ -207,6 +207,7 @@ struct zebra_router { */ bool asic_offloaded; bool notify_on_ack; + bool v6_with_v4_nexthop; /* * If the asic is notifying us about successful nexthop @@ -237,7 +238,8 @@ struct zebra_router { extern struct zebra_router zrouter; extern uint32_t rcvbufsize; -extern void zebra_router_init(bool asic_offload, bool notify_on_ack); +extern void zebra_router_init(bool asic_offload, bool notify_on_ack, + bool v6_with_v4_nexthop); extern void zebra_router_cleanup(void); extern void zebra_router_terminate(void); -- cgit v1.2.3