]> Sergey Matveev's repositories - btrtrc.git/blobdiff - iplist/iplist.go
More cleaning of public interface
[btrtrc.git] / iplist / iplist.go
index c102733d60f6d1668405a7d9466d00bcc16d0c63..d04b090589d00ebca1a2f89a4367a3cc9d73c02c 100644 (file)
@@ -21,8 +21,9 @@ func (r *Range) String() string {
        return fmt.Sprintf("%s-%s (%s)", r.First, r.Last, r.Description)
 }
 
-// Create a new IP list. The given range must already sorted by the lower IP
-// in the range. Behaviour is undefined for lists of overlapping ranges.
+// Create a new IP list. The given ranges must already sorted by the lower
+// bound IP in each range. Behaviour is undefined for lists of overlapping
+// ranges.
 func New(initSorted []Range) *IPList {
        return &IPList{
                ranges: initSorted,