You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fnlong2ip(long), long, index for long, index in range
87
+
# this implementation is not idiomatic but avoids large memory allocations (2 arrays, one for range and one for the results) in cases when then netmask is large
88
+
long=ip2long(@first)
89
+
lastLong=ip2long(@last)
90
+
index=0
91
+
while long <= lastLong
92
+
fnlong2ip(long), long, index
93
+
index++
94
+
long++
95
+
return
89
96
90
97
# Returns the complete netmask formatted as `base/bitmask`
0 commit comments