FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.12k stars 1.2k forks source link

sharpd: fix set ZAPI_MESSAGE_NEXTHOP in nhg only when nexthops used #16346

Closed pguibert6WIND closed 2 days ago

pguibert6WIND commented 3 days ago

The ZAPI_MESSAGE_NEXTHOP flag is systematically set, even if the route message does not include any nexthops. Limit the usage of this value only when nexthops are present.

Fixes: 8a71d93d85a6 ("sharpd: Add Super Happy Advanced Routing Protocol")