diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-06-30 14:41:08 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-06-30 14:41:08 +0200 |
commit | ba3e486667987f16290ac85dc35b53cb9702d662 (patch) | |
tree | 2db62dcb54eb231f3673cfde54ace4dfaedb5f04 /src/helper_test.go | |
parent | 7e185db1418635a28e5aacbd17b1f17b9ab89e35 (diff) |
Completed initial version of outbound flow
Diffstat (limited to 'src/helper_test.go')
-rw-r--r-- | src/helper_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper_test.go b/src/helper_test.go index 3a5c331..464292f 100644 --- a/src/helper_test.go +++ b/src/helper_test.go @@ -35,7 +35,7 @@ func (tun *DummyTUN) Read(d []byte) (int, error) { func CreateDummyTUN(name string) (TUNDevice, error) { var dummy DummyTUN - dummy.mtu = 1024 + dummy.mtu = 0 dummy.packets = make(chan []byte, 100) return &dummy, nil } @@ -58,7 +58,7 @@ func randDevice(t *testing.T) *Device { t.Fatal(err) } tun, _ := CreateDummyTUN("dummy") - device := NewDevice(tun) + device := NewDevice(tun, LogLevelError) device.SetPrivateKey(sk) return device } |