]> git.puffer.fish Git - mirror/frr.git/commit
zebra: prefixlen is not afi/safi dependant in encoding nexthops 10784/head
authorDonald Sharp <sharpd@nvidia.com>
Sat, 12 Mar 2022 16:05:23 +0000 (11:05 -0500)
committermergify-bot <noreply@mergify.com>
Sat, 12 Mar 2022 19:46:39 +0000 (19:46 +0000)
commitbb14bbeab09ef245611dc9b1cbf9e24824605ba8
tree298e5f1e9c7272fe3d1eb4f89b8898743c5a62f3
parenta310b24a6d0e3c8a41a8478ccaae11f19c8a2250
zebra: prefixlen is not afi/safi dependant in encoding nexthops

When encoding a response to the upper level protocol the
prefixlen is not something that needs to be part of the
switch statement for handling of a prefix.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
(cherry picked from commit b74f72c1fb7f1c394def38b884b689f1e56eb05b)
zebra/zebra_rnh.c