]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Fix Config.IPBlocklist type
authorMatt Joiner <anacrolix@gmail.com>
Mon, 4 Apr 2016 06:23:30 +0000 (16:23 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 4 Apr 2016 06:23:30 +0000 (16:23 +1000)
config.go

index 718e95cc4336ab80b87b5e62b501b0fd7ed48579..1f22df0364a87db979c2ff2362ae3d08dfdd9059 100644 (file)
--- a/config.go
+++ b/config.go
@@ -45,7 +45,7 @@ type Config struct {
        DefaultStorage    storage.I
        DisableEncryption bool `long:"disable-encryption"`
 
-       IPBlocklist *iplist.IPList
+       IPBlocklist iplist.Ranger
        DisableIPv6 bool `long:"disable-ipv6"`
        // Perform logging and any other behaviour that will help debug.
        Debug bool `help:"enable debug logging"`