-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ip: show routes from all vrfs by default
Be consistent with `show ip nexthop`, display routes from all VRFs by default, unless a VRF id is specified. Change the default vrf_id parameter in the request to UINT16_MAX (meaning "all vrfs"). Add a vrf_id attribute to struct gr_ip4_route and display it in the CLI. Split route4_list to make counting and listing routes in mutliple VRFs possible without too much code duplication. Signed-off-by: Robin Jarry <robin@jarry.cc>
- Loading branch information
Showing
3 changed files
with
64 additions
and
15 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
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