summaryrefslogtreecommitdiffstats
path: root/pimd/pimd.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-02 21:52:09 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-05-02 21:52:09 +0200
commit05ba625af7cbeb08322a1ea761732521816245bd (patch)
treeb5501ff31d67ec53a0da4935f59a17478b637255 /pimd/pimd.c
parentMerge remote-tracking branch 'origin/stable/2.0' (diff)
parentupdate doc of ubuntu 12.04 (diff)
downloadfrr-05ba625af7cbeb08322a1ea761732521816245bd.tar.xz
frr-05ba625af7cbeb08322a1ea761732521816245bd.zip
Merge remote-tracking branch 'origin/stable/3.0'
Diffstat (limited to 'pimd/pimd.c')
-rw-r--r--pimd/pimd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c
index 7b100ffa4..fc6663776 100644
--- a/pimd/pimd.c
+++ b/pimd/pimd.c
@@ -199,6 +199,7 @@ pim_prefix_list_update (struct prefix_list *plist)
{
pim_rp_prefix_list_update (plist);
pim_ssm_prefix_list_update (plist);
+ pim_upstream_spt_prefix_list_update (plist);
}
static void
@@ -254,7 +255,9 @@ pim_instance_init (vrf_id_t vrf_id, afi_t afi)
pim->vrf_id = vrf_id;
pim->afi = afi;
- pim->spt_switchover = PIM_SPT_IMMEDIATE;
+ pim->spt.switchover = PIM_SPT_IMMEDIATE;
+ pim->spt.plist = NULL;
+
pim->rpf_hash = hash_create_size (256, pim_rpf_hash_key, pim_rpf_equal);
if (PIM_DEBUG_ZEBRA)