Skip to content

Commit 61fd359

Browse files
authored
modify route priority for /32 src route (#5832)
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
1 parent 646dbed commit 61fd359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/images/patches/9ee66bd91be65605cffb9a490b4dba3bc13358e9.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ index cf9d2217ae..c530468ec2 100644
2121
+ if (is_src_route) {
2222
+ *priority = 1;
2323
+ if ((is_ipv4 && plen == 32) || (plen == 128)) {
24-
+ *priority = 2;
24+
+ *priority = ROUTE_PRIO_OFFSET_STATIC + 1;
2525
+ }
2626
+ } else {
2727
+ *priority = (plen * ROUTE_PRIO_OFFSET_MULTIPLIER) + ofs;

0 commit comments

Comments
 (0)