This reverts commit 061422affc.
We have a way to support IPv6 on FreeBSD now.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
main
parent
f45a9e291b
commit
c8af6bc009
@ -1,39 +0,0 @@ |
||||
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Code generated by tailscale.com/cmd/cloner -type Config; DO NOT EDIT.
|
||||
|
||||
package router |
||||
|
||||
import ( |
||||
"inet.af/netaddr" |
||||
"tailscale.com/types/preftype" |
||||
"tailscale.com/wgengine/router/dns" |
||||
) |
||||
|
||||
// Clone makes a deep copy of Config.
|
||||
// The result aliases no memory with the original.
|
||||
func (src *Config) Clone() *Config { |
||||
if src == nil { |
||||
return nil |
||||
} |
||||
dst := new(Config) |
||||
*dst = *src |
||||
dst.LocalAddrs = append(src.LocalAddrs[:0:0], src.LocalAddrs...) |
||||
dst.Routes = append(src.Routes[:0:0], src.Routes...) |
||||
dst.DNS = *src.DNS.Clone() |
||||
dst.SubnetRoutes = append(src.SubnetRoutes[:0:0], src.SubnetRoutes...) |
||||
return dst |
||||
} |
||||
|
||||
// A compilation failure here means this code must be regenerated, with command:
|
||||
// tailscale.com/cmd/cloner -type Config
|
||||
var _ConfigNeedsRegeneration = Config(struct { |
||||
LocalAddrs []netaddr.IPPrefix |
||||
Routes []netaddr.IPPrefix |
||||
DNS dns.Config |
||||
SubnetRoutes []netaddr.IPPrefix |
||||
SNATSubnetRoutes bool |
||||
NetfilterMode preftype.NetfilterMode |
||||
}{}) |
||||
@ -1,33 +0,0 @@ |
||||
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Code generated by tailscale.com/cmd/cloner -type Config; DO NOT EDIT.
|
||||
|
||||
package dns |
||||
|
||||
import ( |
||||
"inet.af/netaddr" |
||||
) |
||||
|
||||
// Clone makes a deep copy of Config.
|
||||
// The result aliases no memory with the original.
|
||||
func (src *Config) Clone() *Config { |
||||
if src == nil { |
||||
return nil |
||||
} |
||||
dst := new(Config) |
||||
*dst = *src |
||||
dst.Nameservers = append(src.Nameservers[:0:0], src.Nameservers...) |
||||
dst.Domains = append(src.Domains[:0:0], src.Domains...) |
||||
return dst |
||||
} |
||||
|
||||
// A compilation failure here means this code must be regenerated, with command:
|
||||
// tailscale.com/cmd/cloner -type Config
|
||||
var _ConfigNeedsRegeneration = Config(struct { |
||||
Nameservers []netaddr.IP |
||||
Domains []string |
||||
PerDomain bool |
||||
Proxied bool |
||||
}{}) |
||||
Loading…
Reference in new issue