]> git.proxmox.com Git - mirror_frr.git/commitdiff
Merge pull request #3204 from ton31337/fix/make_vrf_import_default_selectable
authorDavid Lamparter <equinox@diac24.net>
Tue, 23 Oct 2018 16:34:15 +0000 (18:34 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Oct 2018 16:34:15 +0000 (18:34 +0200)
bgpd: Select default routing table when importing VRF routes into global

bgpd/bgp_vty.c

index 01d33a869d959ef2ed8fa33fbd214b017ee5d7ae..a1c50a720f7c6f69b3d3d1d32acc6a7e19a74c3b 100644 (file)
@@ -6750,13 +6750,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;