]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
device: remove unused fields from DummyDatagram and DummyBind
authorJosh Bleecher Snyder <josh@tailscale.com>
Tue, 19 Jan 2021 21:42:45 +0000 (13:42 -0800)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 20 Jan 2021 19:03:40 +0000 (20:03 +0100)
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
device/bind_test.go

index 339adbe731dd82745e4ec625637fb2bcb8281570..6c5c7f0318ea555afd29ae50fa97a4328d637eac 100644 (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
 }