fix network length

This commit is contained in:
Callan Bryant 2020-10-25 08:12:20 +00:00
parent 28f436c41b
commit 3e20f93bd7
No known key found for this signature in database
GPG Key ID: C31FA9DF3ACBFFAA

View File

@ -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},
}, },
} }