diff options
| author | anlan_cs <anlan_cs@tom.com> | 2024-06-15 20:34:20 +0800 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-02 17:50:31 +0000 |
| commit | 615097b6b06a2dec8bcc2ae9f5dc2e22eefea04a (patch) | |
| tree | 9f9562a02828780ee7d223e04b4599234469acc8 /pimd/pim_errors.c | |
| parent | fd25804c9335fc793b6b12cc5669e8412d618f83 (diff) | |
ldpd: fix wrong gtsm count
In linux networking stack, the received mpls packets will be processed
by the host *twice*, one as mpls packet, the other as ip packet, so
its ttl decreased 1.
So, we need release the `IP_MINTTL` value if gtsm is enabled, it is for the
mpls packets of neighbor session caused by the command:
`label local advertise explicit-null`.
This change makes the gtsm mechanism a bit deviation.
Fix PR #8313
Signed-off-by: anlan_cs <vic.lan@pica8.com>
(cherry picked from commit 1919df3a64d3fe6d4084c1d0b050b3e368860170)
Diffstat (limited to 'pimd/pim_errors.c')
0 files changed, 0 insertions, 0 deletions
