diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-02 15:52:09 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-02 15:52:09 -0400 | 
| commit | 05ba625af7cbeb08322a1ea761732521816245bd (patch) | |
| tree | b5501ff31d67ec53a0da4935f59a17478b637255 /pimd/pim_vty.c | |
| parent | df581cd3e137e8d3ab0f9acbb3d33bdb1e63face (diff) | |
| parent | 826fe613f95fcf6047c987757c946bb53cb99929 (diff) | |
Merge remote-tracking branch 'origin/stable/3.0'
Diffstat (limited to 'pimd/pim_vty.c')
| -rw-r--r-- | pimd/pim_vty.c | 10 | 
1 files changed, 7 insertions, 3 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index ea67039c02..62d1f936ec 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -188,10 +188,14 @@ int pim_global_config_write(struct vty *vty)                 ssm->plist_name, VTY_NEWLINE);        ++writes;      } -  if (pimg->spt_switchover == PIM_SPT_INFINITY) +  if (pimg->spt.switchover == PIM_SPT_INFINITY)      { -      vty_out (vty, "ip pim spt-switchover infinity-and-beyond%s", -               VTY_NEWLINE); +      if (pimg->spt.plist) +        vty_out (vty, "ip pim spt-switchover infinity-and-beyond prefix-list %s%s", +                 pimg->spt.plist, VTY_NEWLINE); +      else +        vty_out (vty, "ip pim spt-switchover infinity-and-beyond%s", +                 VTY_NEWLINE);        ++writes;      }  | 
