Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option for strict sequential route matching #605

Merged
merged 2 commits into from
Apr 8, 2024

Conversation

mialinx
Copy link
Collaborator

@mialinx mialinx commented Apr 5, 2024

No description provided.

@@ -346,6 +347,63 @@ od_rule_t *od_rules_forward(od_rules_t *rules, char *db_name, char *user_name,
return rule_default_default_default;
}

static od_rule_t *
od_rules_forward_sequential(od_rules_t *rules, char *db_name, char *user_name,
Copy link
Contributor

@reshke reshke Apr 5, 2024

Choose a reason for hiding this comment

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

maybe we can rewrite od_rules_forward logic to handle sequential inside of it (consider macros if different signature needed)? Im not a big fan of rewriting core logic functions twice

Copy link
Collaborator Author

@mialinx mialinx Apr 7, 2024

Choose a reason for hiding this comment

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

maybe we can rewrite od_rules_forward logic to handle sequential inside of it (consider macros if different signature needed)? Im not a big fan of rewriting core logic functions twice

But od_rules_forward_sequential significantly differs from old od_rules_forward, I think two separate functions are more clear

@mialinx mialinx merged commit c827bb4 into yandex:master Apr 8, 2024
1 check passed
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.

3 participants