frr
frr copied to clipboard
pbrd: Fix the way IPv6 address is formatted
Issue: issue is how the IPv6 address is formatted when being printed in PBR. Format specifier %pFX not be the correct one to use for printing IPv6 addresses.
Fix: 1.In C, to print IPv6 addresses, typically use the inet_ntop function to convert the binary address into a human-readable string based on the address family.
- During frr reload - preserving the full IPv6 address along with its prefix length
Testing Done: precommit, pbr map with ipv6 and ipv4 rule
Ticket: #3498263 Signed-off-by: Rajesh Varatharaj [email protected]
ci:rerun
ci:rerun