From: Matt Joiner Date: Mon, 9 Mar 2015 06:36:07 +0000 (+1100) Subject: TODO X-Git-Tag: v1.0.0~1291 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=a583c4a914f285d3f0af5caef7fb864f8843a3bf;p=btrtrc.git TODO --- diff --git a/iplist/iplist.go b/iplist/iplist.go index 5585909b..958af5a9 100644 --- a/iplist/iplist.go +++ b/iplist/iplist.go @@ -92,8 +92,7 @@ func ParseBlocklistP2PLine(l []byte) (r Range, ok bool, err error) { if len(l) == 0 || bytes.HasPrefix(l, []byte("#")) { return } - // TODO: Something tells me this will end badly when IPv6 blocklists are - // added. + // TODO: Check this when IPv6 blocklists are available. colon := bytes.LastIndexAny(l, ":") if colon == -1 { err = errors.New("missing colon")