Merge pull request #1077 from donaldsharp/ws

Cleanup some issues in pim
This commit is contained in:
Renato Westphal 2017-08-30 22:26:41 -03:00 committed by GitHub
commit edfb96d21e
3 changed files with 4 additions and 4 deletions

View File

@ -1364,7 +1364,7 @@ static int pim_upstream_register_stop_timer(struct thread *t)
pim_upstream_start_register_stop_timer(up, 1); pim_upstream_start_register_stop_timer(up, 1);
if (((up->channel_oil->cc.lastused / 100) if (((up->channel_oil->cc.lastused / 100)
> PIM_KEEPALIVE_PERIOD) > pim->keep_alive_time)
&& (I_am_RP(pim_ifp->pim, up->sg.grp))) { && (I_am_RP(pim_ifp->pim, up->sg.grp))) {
if (PIM_DEBUG_TRACE) if (PIM_DEBUG_TRACE)
zlog_debug( zlog_debug(

View File

@ -257,8 +257,8 @@ int pim_interface_config_write(struct vty *vty)
if (vrf->vrf_id == VRF_DEFAULT) if (vrf->vrf_id == VRF_DEFAULT)
vty_frame(vty, "interface %s\n", ifp->name); vty_frame(vty, "interface %s\n", ifp->name);
else else
vty_out(vty, "interface %s vrf %s\n", ifp->name, vty_frame(vty, "interface %s vrf %s\n",
vrf->name); ifp->name, vrf->name);
++writes; ++writes;
if (ifp->info) { if (ifp->info) {