mirror of
https://github.com/KusakabeShi/EtherGuard-VPN.git
synced 2025-08-10 08:04:49 +02:00
device: remove unused fields from DummyDatagram and DummyBind
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
committed by
Jason A. Donenfeld
parent
6a2ecb581b
commit
86a58b51c0
@ -14,14 +14,11 @@ import (
|
|||||||
type DummyDatagram struct {
|
type DummyDatagram struct {
|
||||||
msg []byte
|
msg []byte
|
||||||
endpoint conn.Endpoint
|
endpoint conn.Endpoint
|
||||||
world bool // better type
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type DummyBind struct {
|
type DummyBind struct {
|
||||||
in6 chan DummyDatagram
|
in6 chan DummyDatagram
|
||||||
ou6 chan DummyDatagram
|
|
||||||
in4 chan DummyDatagram
|
in4 chan DummyDatagram
|
||||||
ou4 chan DummyDatagram
|
|
||||||
closed bool
|
closed bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user