summaryrefslogtreecommitdiff
path: root/pceplib/test/pcep_session_logic_loop_test.c
diff options
context:
space:
mode:
authorMobashshera Rasool <mrasool@vmware.com>2021-10-01 00:36:10 -0700
committerMobashshera Rasool <mrasool@vmware.com>2021-10-03 22:04:34 -0700
commit79992e8a4257c35a1d255c24aa3b2df2f8b80b96 (patch)
tree17dd52a0799dac9ece8c49c465b9428ee3169c01 /pceplib/test/pcep_session_logic_loop_test.c
parent31df775552690649ab769c57ed796a9de82fa22b (diff)
pimd: Add a flag to decide PIM has to send Hello
Problem Statement: ================== pim maintains two counters hello tx and hello rx at interface level. At present pim needs to send the hello message prior to other pim message as per RFC. This logic is getting derived from the tx hello counters. So when a new neighbor is added, tx counters are set to zero and then based on this, it is further decided to send hello in pim_hello_require function. Fix: ==== Separating the hello statistics and the logic to decide when to send hello based on a new flag. pim_ifstat_hello_sent will be used to note down the hello stats while a new flag is added to decide whether to send hello or not if it is the first packet to a neighbor. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
Diffstat (limited to 'pceplib/test/pcep_session_logic_loop_test.c')
0 files changed, 0 insertions, 0 deletions