Propagate DCOverrides

This commit is contained in:
9seconds
2026-02-16 14:58:41 +01:00
parent 0a5a45b32d
commit 836a481026
9 changed files with 164 additions and 6 deletions
+6
View File
@@ -113,6 +113,12 @@ type ProxyOpts struct {
//
// OBSOLETE and DEPRECATED. Ignored.
UseTestDCs bool
// DCOverrides defines a set of IP addresses that should be used
// with a higher priority to those that are calculated somehow by mtg.
//
// This is an optional setting
DCOverrides map[int][]string
}
func (p ProxyOpts) valid() error {