Skip to content

ripd: fix offset-list in/out metric calculation inconsistency#20402

Open
Shbinging wants to merge 1 commit intoFRRouting:masterfrom
Shbinging:fix_rip_offset-list_metric_inconsistency
Open

ripd: fix offset-list in/out metric calculation inconsistency#20402
Shbinging wants to merge 1 commit intoFRRouting:masterfrom
Shbinging:fix_rip_offset-list_metric_inconsistency

Conversation

@Shbinging
Copy link
Copy Markdown
Contributor

When apply offset-list, always add interface metric first (typically +1), then add offset-list value on top if matched.

CLOSES: #20133

When apply offset-list, always add interface metric first (typically +1), then add offset-list value on top if matched.

Signed-off-by: Bing Shui <bingshui@smail.nju.edu.cn>
@donaldsharp
Copy link
Copy Markdown
Member

A test please to show this behavior is working.

Copy link
Copy Markdown
Member

@riw777 riw777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good ... waiting on a topo test

@github-actions github-actions Bot added the rebase PR needs rebase label Jan 16, 2026
@riw777
Copy link
Copy Markdown
Member

riw777 commented Mar 3, 2026

still waiting on a topo test here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ripd: inconsistent metric calculation between 'in' and 'out' direction

4 participants