mirror of
https://git.zx2c4.com/wireguard-go
synced 2025-10-05 16:47:02 +08: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