forked from FRRouting/frr
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. 2. 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 <rvaratharaj@nvidia.com>
- Loading branch information
1 parent
fb9ee9f
commit 83aa6b3
Showing
2 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters