mirror of
https://github.com/tailscale/tailscale.git
synced 2025-07-11 08:08:54 +00:00
tsdns: remove now unused fields.
Missed in 75419826353c7ab710200f0df9bbdf87d2c75f17. Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com>
This commit is contained in:
parent
7541982635
commit
aa1da24f18
@ -36,11 +36,6 @@ var errNoUpstreams = errors.New("upstream nameservers not set")
|
|||||||
|
|
||||||
var aLongTimeAgo = time.Unix(0, 1)
|
var aLongTimeAgo = time.Unix(0, 1)
|
||||||
|
|
||||||
type forwardedPacket struct {
|
|
||||||
payload []byte
|
|
||||||
dst net.Addr
|
|
||||||
}
|
|
||||||
|
|
||||||
type forwardingRecord struct {
|
type forwardingRecord struct {
|
||||||
src netaddr.IPPort
|
src netaddr.IPPort
|
||||||
createdAt time.Time
|
createdAt time.Time
|
||||||
@ -105,8 +100,6 @@ func getTxID(packet []byte) txid {
|
|||||||
type forwarder struct {
|
type forwarder struct {
|
||||||
logf logger.Logf
|
logf logger.Logf
|
||||||
|
|
||||||
// queue is the queue for delegated packets.
|
|
||||||
queue chan forwardedPacket
|
|
||||||
// responses is a channel by which responses are returned.
|
// responses is a channel by which responses are returned.
|
||||||
responses chan Packet
|
responses chan Packet
|
||||||
// closed signals all goroutines to stop.
|
// closed signals all goroutines to stop.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user