diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-22 15:13:13 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 13:51:37 -0400 |
| commit | 9ecb7b77474ee963635df5680dc0b7ce00388a7a (patch) | |
| tree | cff576c51282b81f63e93deaa98b5f8a92916b8b /pimd/pim_instance.c | |
| parent | 4097373f906c660faf44f1ce6990b345c3737619 (diff) | |
pimd: Get show run to display vrf sub mode
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_instance.c')
| -rw-r--r-- | pimd/pim_instance.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pimd/pim_instance.c b/pimd/pim_instance.c index bfe2604e93..d493657917 100644 --- a/pimd/pim_instance.c +++ b/pimd/pim_instance.c @@ -31,6 +31,7 @@ #include "pim_oil.h" #include "pim_static.h" #include "pim_ssmpingd.h" +#include "pim_vty.h" static void pim_instance_terminate(struct pim_instance *pim) { @@ -190,8 +191,9 @@ static int pim_vrf_config_write(struct vty *vty) RB_FOREACH(vrf, vrf_name_head, &vrfs_by_name) { pim = vrf->info; - if (!pim || !vrf->vrf_id != VRF_DEFAULT) { + if (!pim || vrf->vrf_id != VRF_DEFAULT) { vty_out(vty, "vrf %s\n", vrf->name); + pim_global_config_write_worker(pim, vty); vty_out(vty, "!\n"); } } |
