From a583c4a914f285d3f0af5caef7fb864f8843a3bf Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Mon, 9 Mar 2015 17:36:07 +1100 Subject: [PATCH] TODO --- iplist/iplist.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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")