-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zebra: include the prefix in nht show command #16828
Conversation
zebra/zebra_rnh.c
Outdated
vty_out(vty, " resolved via %s\n", | ||
zebra_route_string(rnh->state->type)); | ||
vty_out(vty, " prefix %pFX\n", &rnh->resolved_route); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO make the line “ resolved via %s prefix %pFX\n”.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I have also added a "," between the protocol and the prefix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash to a single commit both changes.
Include the prefix in "show ip nht" and "show ipv6 nht". Signed-off-by: Enke Chen <[email protected]>
671f33d
to
f6e2871
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Include the prefix in "show ip nht" and "show ipv6 nht".