diff options
Diffstat (limited to 'pimd/pim_oil.c')
| -rw-r--r-- | pimd/pim_oil.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pimd/pim_oil.c b/pimd/pim_oil.c index 8755818c0f..96f9ef2b62 100644 --- a/pimd/pim_oil.c +++ b/pimd/pim_oil.c @@ -79,6 +79,7 @@ static struct channel_oil *channel_oil_new(struct in_addr group_addr, c_oil->oil.mfcc_origin = source_addr; c_oil->oil.mfcc_parent = input_vif_index; c_oil->oil_ref_count = 1; + c_oil->installed = 0; zassert(c_oil->oil_size == 0); @@ -253,7 +254,7 @@ int pim_channel_add_oif(struct channel_oil *channel_oil, channel_oil->oil.mfcc_ttls[pim_ifp->mroute_vif_index] = PIM_MROUTE_MIN_TTL; - if (pim_mroute_add(&channel_oil->oil)) { + if (pim_mroute_add(channel_oil)) { if (PIM_DEBUG_MROUTE) { char group_str[100]; |
