pull/15463/head
Predrag Rogic 2023-01-10 23:04:57 +00:00
parent 24226c5f5a
commit 805f7b2da3
No known key found for this signature in database
GPG Key ID: F1FF5748C4855229
1 changed files with 0 additions and 21 deletions

View File

@ -29,27 +29,6 @@ import (
const defaultReservationPeriod = 1 * time.Minute
var (
// valid private network subnets (RFC1918)
privateSubnets = []net.IPNet{
// 10.0.0.0/8
{
IP: []byte{10, 0, 0, 0},
Mask: []byte{255, 0, 0, 0},
},
// 172.16.0.0/12
{
IP: []byte{172, 16, 0, 0},
Mask: []byte{255, 240, 0, 0},
},
// 192.168.0.0/16
{
IP: []byte{192, 168, 0, 0},
Mask: []byte{255, 255, 0, 0},
},
}
)
// Parameters contains main network parameters.
type Parameters struct {
IP string // IP address of network