mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-12 11:28:37 -07:00
Allow configuring if a peer may have 2 IPs
This commit is contained in:
@@ -170,6 +170,7 @@ func TestPreferredSubnet(t *testing.T) {
|
||||
cfg.PreferredSubnet = true
|
||||
cfg.PreferredIPv4Subnet = 8
|
||||
cfg.PreferredIPv6Subnet = 16
|
||||
cfg.DualStackedPeers = false
|
||||
|
||||
srv, err := setupTracker(&cfg)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user