From 4d1b335c74e605876d80f36037244bc549ea61e4 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Fri, 19 Oct 2018 15:56:09 +0300 Subject: [PATCH] bgpd: Select default routing table when importing VRF routes into global Signed-off-by: Donatas Abraitis --- bgpd/bgp_vty.c | 13 ++++++------- 1 file 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; -- 2.39.5