remove debug
This commit is contained in:
parent
ac9baf0039
commit
9a942c1040
@ -2,8 +2,8 @@ package dsnet
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
"math/rand"
|
||||||
"net"
|
"net"
|
||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
@ -206,7 +206,6 @@ func (conf DsnetConfig) MustAllocateIP6() net.IP {
|
|||||||
// OR the host part with the network part
|
// OR the host part with the network part
|
||||||
for j := ones / 8; j < len(IP); j++ {
|
for j := ones / 8; j < len(IP); j++ {
|
||||||
IP[j] = IP[j] | rbs[j]
|
IP[j] = IP[j] | rbs[j]
|
||||||
fmt.Println("%d, %s", j, IP[j])
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if !conf.IPAllocated(IP) {
|
if !conf.IPAllocated(IP) {
|
||||||
|
Loading…
Reference in New Issue
Block a user