Files
omv-dijiang/works/patch/route/route.go.patch
T
2026-05-06 01:35:53 +08:00

19 lines
582 B
Diff

--- a/route/route.go
+++ b/route/route.go
@@ -372,6 +372,7 @@
}
}
} else {
+ // OMV: some codes about process routing are deleted here for unknown reason, it may break something.
for _, address := range metadata.DestinationAddresses {
if address.Is6() {
newDestination = address
@@ -796,6 +797,7 @@
return err
}
metadata.DestinationAddresses = addresses
+ metadata.IgnoreDestinationAddresses = action.MatchOnly
r.logger.DebugContext(ctx, "resolved [", strings.Join(F.MapToString(metadata.DestinationAddresses), " "), "]")
}
return nil