Merge pull request #13822 from SaiGomathiN/regF

pim, pim6d: pimreg interface is not getting added in a certain scenario
This commit is contained in:
Donatas Abraitis 2023-06-24 23:22:10 +03:00 committed by GitHub
commit ab2f93463e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -745,6 +745,7 @@ void pim_reg_del_on_couldreg_fail(struct interface *ifp)
PIM_OIF_FLAG_PROTO_PIM, __func__);
EVENT_OFF(up->t_rs_timer);
up->reg_state = PIM_REG_NOINFO;
PIM_UPSTREAM_FLAG_UNSET_FHR(up->flags);
}
}
}

View File

@ -1713,6 +1713,7 @@ static void pim_upstream_register_stop_timer(struct event *t)
zlog_debug("%s: up %s RPF is not present",
__func__, up->sg_str);
up->reg_state = PIM_REG_NOINFO;
PIM_UPSTREAM_FLAG_UNSET_FHR(up->flags);
return;
}