summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2018-10-19 15:56:09 +0300
committerDonatas Abraitis <donatas.abraitis@gmail.com>2018-10-23 18:00:02 +0300
commit4d1b335c74e605876d80f36037244bc549ea61e4 (patch)
treec5917e02afdb0a50387a32836affef0bda58d685
parent79e8a97c1a7044b75bd07a06a806bb825f5b0001 (diff)
bgpd: Select default routing table when importing VRF routes into global
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
-rw-r--r--bgpd/bgp_vty.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 5af9f7e24c..4bd152cda9 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -6749,13 +6749,12 @@ ALIAS(af_import_vrf_route_map, af_no_import_vrf_route_map_cmd,
"Vrf routes being filtered\n"
"Specify route map\n")
-DEFPY (bgp_imexport_vrf,
- bgp_imexport_vrf_cmd,
- "[no] import vrf NAME$import_name",
- NO_STR
- "Import routes from another VRF\n"
- "VRF to import from\n"
- "The name of the VRF\n")
+DEFPY(bgp_imexport_vrf, bgp_imexport_vrf_cmd,
+ "[no] import vrf VIEWVRFNAME$import_name",
+ NO_STR
+ "Import routes from another VRF\n"
+ "VRF to import from\n"
+ "The name of the VRF\n")
{
VTY_DECLVAR_CONTEXT(bgp, bgp);
struct listnode *node;