summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2018-10-19 14:56:09 +0200
committerDonatas Abraitis <donatas.abraitis@gmail.com>2018-10-23 17:00:02 +0200
commit4d1b335c74e605876d80f36037244bc549ea61e4 (patch)
treec5917e02afdb0a50387a32836affef0bda58d685
parentMerge pull request #3024 from ton31337/fix/validate_route-map (diff)
downloadfrr-4d1b335c74e605876d80f36037244bc549ea61e4.tar.xz
frr-4d1b335c74e605876d80f36037244bc549ea61e4.zip
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 5af9f7e24..4bd152cda 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;