diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-29 23:23:25 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-30 09:34:03 -0400 |
| commit | 71bbe73dc4fb308b1abca5a326c6c59e1193d794 (patch) | |
| tree | 0aee0b31d087ff3fc558f2fe3ad8e6d9f3b9b0c4 /pimd/pim_vty.c | |
| parent | 34687162ce39d4c34bf60bc55ea13b597b04c2ac (diff) | |
pimd: Add code to allow backwards compatibility
This code change adds the ability to specify that
we should be able to work with older versions
of PIM.
In future commits we will actually use this data.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_vty.c')
| -rw-r--r-- | pimd/pim_vty.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index 5b6a79b95a..9788c58cd9 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -148,6 +148,12 @@ int pim_global_config_write(struct vty *vty) writes += pim_msdp_config_write (vty); + if (!pimg->send_v6_secondary) + { + vty_out (vty, "no ip pim send-v6-secondary%s", VTY_NEWLINE); + ++writes; + } + writes += pim_rp_config_write (vty); if (qpim_register_suppress_time != PIM_REGISTER_SUPPRESSION_TIME_DEFAULT) |
