From 8361ad5b537576bf888c8ee5773c4a753be9ecbc Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 17 Nov 2017 19:30:12 +0900 Subject: [PATCH] ing --- net/cidr/range_v4.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/cidr/range_v4.go b/net/cidr/range_v4.go index 27fe60d..1beb18f 100644 --- a/net/cidr/range_v4.go +++ b/net/cidr/range_v4.go @@ -44,10 +44,11 @@ func (cr *cidrRangeIPv4) Range(exclude []net.IP) []net.IP { } r := make([]net.IP, 0) +Loop: for i := fNum; i <= lNum; i++ { for _, exN := range exs { if exN == i { - continue + continue Loop } } r = append(r, converter.IntToIPv4(i))