Skip to content

Commit

Permalink
修改为默认使用自定义的 random 方法
Browse files Browse the repository at this point in the history
  • Loading branch information
wdmhswj committed Jan 13, 2025
1 parent a3c6103 commit a1cbb2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ofproto/ofproto-dpif-xlate.c
Original file line number Diff line number Diff line change
Expand Up @@ -4938,6 +4938,8 @@ pick_select_group(struct xlate_ctx *ctx, struct group_dpif *group)
return NULL;
}

return pick_random_select_group(ctx, group); // 直接默认就使用自定义的 random 方法

switch (group->selection_method) {
case SEL_METHOD_DEFAULT:
return pick_default_select_group(ctx, group);
Expand Down

0 comments on commit a1cbb2c

Please sign in to comment.