fix network length
This commit is contained in:
parent
28f436c41b
commit
3e20f93bd7
2
init.go
2
init.go
@ -63,7 +63,7 @@ func getULA() JSONIPNet {
|
|||||||
// fc00 prefix with 40 bit global id and zero (16 bit) subnet ID
|
// fc00 prefix with 40 bit global id and zero (16 bit) subnet ID
|
||||||
return JSONIPNet{
|
return JSONIPNet{
|
||||||
IPNet: net.IPNet{
|
IPNet: net.IPNet{
|
||||||
net.IP{0xfc, 0, rbs[0], rbs[1], rbs[2], rbs[3], rbs[4], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
|
net.IP{0xfc, 0, rbs[0], rbs[1], rbs[2], rbs[3], rbs[4], 0, 0, 0, 0, 0, 0, 0, 0, 0},
|
||||||
net.IPMask{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0, 0, 0, 0, 0, 0, 0, 0},
|
net.IPMask{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0, 0, 0, 0, 0, 0, 0, 0},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user