File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ func getRandomIP() (*net.IP, error) {
105105 ipo , ipnet , err := net .ParseCIDR ("100.64.0.0/10" )
106106 if err == nil {
107107 ip := ipo .To4 ()
108- fmt .Println ("In Randomize IPAddr: IP " , ip , " IPNET: " , ipnet )
109- fmt .Println ("Final address is " , ip )
108+ // fmt.Println("In Randomize IPAddr: IP ", ip, " IPNET: ", ipnet)
109+ // fmt.Println("Final address is ", ip)
110110 // fmt.Println("Broadcast address is ", ipb)
111111 // fmt.Println("Network address is ", ipn)
112112 r := mathrand .Uint32 ()
@@ -119,7 +119,7 @@ func getRandomIP() (*net.IP, error) {
119119 ip [i ] = ip [i ] + (v &^ ipnet .Mask [i ])
120120 // fmt.Println("IP After: ", ip[i])
121121 }
122- fmt .Println ("FINAL IP: " , ip .String ())
122+ // fmt.Println("FINAL IP: ", ip.String())
123123 return & ip , nil
124124 }
125125
You can’t perform that action at this time.
0 commit comments