Skip to content

fix RTR setup#21

Merged
pforemski merged 1 commit intomainfrom
dev0116
Jan 16, 2026
Merged

fix RTR setup#21
pforemski merged 1 commit intomainfrom
dev0116

Conversation

@pforemski
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the RTR (RPKI-to-Router protocol) setup by correcting the timing and logic of cache initialization during session establishment.

Changes:

  • Moved cache flush from ClientConnected() to rtrRun() to ensure proper initialization before connection
  • Refactored rtrSessionCheck() to handle new sessions explicitly, avoiding unnecessary cache flushes and reset queries
  • Simplified session state management by distinguishing between new session establishment and session changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pforemski pforemski merged commit 82f7727 into main Jan 16, 2026
6 checks passed
@pforemski pforemski deleted the dev0116 branch January 16, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants