1
0
mirror of https://git.zx2c4.com/wireguard-go synced 2024-11-15 01:05:15 +01:00

device: remove unused fields from DummyDatagram and DummyBind

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
Josh Bleecher Snyder 2021-01-19 13:42:45 -08:00 committed by Jason A. Donenfeld
parent 6a2ecb581b
commit 86a58b51c0

View File

@ -14,14 +14,11 @@ import (
type DummyDatagram struct {
msg []byte
endpoint conn.Endpoint
world bool // better type
}
type DummyBind struct {
in6 chan DummyDatagram
ou6 chan DummyDatagram
in4 chan DummyDatagram
ou4 chan DummyDatagram
closed bool
}