diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-09-25 15:27:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-25 15:27:55 -0400 |
| commit | 75a5d867a1ab23e85e7bbc980cf67b95f2c8827d (patch) | |
| tree | 6923f0ffed715fdf8e049de25a4bb42f557ea44c /zebra/interface.c | |
| parent | 8dd3950095cb0c39e0012867dac15d064dff4aa2 (diff) | |
| parent | e429a2a0cc6826b280addd8280034b89ed21bfea (diff) | |
Merge pull request #5051 from idryzhov/fix-vrf-autocomplete
*: fix missing VRF autocompletions
Diffstat (limited to 'zebra/interface.c')
| -rw-r--r-- | zebra/interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/interface.c b/zebra/interface.c index b9a49c5190..a724006e27 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -1567,7 +1567,7 @@ struct cmd_node interface_node = {INTERFACE_NODE, "%s(config-if)# ", 1}; #endif /* Show all interfaces to vty. */ DEFPY(show_interface, show_interface_cmd, - "show interface [vrf NAME$name] [brief$brief]", + "show interface [vrf NAME$vrf_name] [brief$brief]", SHOW_STR "Interface status and configuration\n" VRF_CMD_HELP_STR @@ -1579,8 +1579,8 @@ DEFPY(show_interface, show_interface_cmd, interface_update_stats(); - if (name) - VRF_GET_ID(vrf_id, name, false); + if (vrf_name) + VRF_GET_ID(vrf_id, vrf_name, false); /* All interface print. */ vrf = vrf_lookup_by_id(vrf_id); |
