1
0
mirror of https://github.com/fumiama/water.git synced 2026-06-23 12:40:40 +08:00

Adjusts Tests with Changes

This commit is contained in:
Matthew Ellison
2017-05-22 16:06:34 -04:00
parent 341e40fcee
commit 80efdb6991

View File

@@ -30,7 +30,7 @@ func TestBroadcast(t *testing.T) {
brd = net.IPv4(10, 0, 42, 255) brd = net.IPv4(10, 0, 42, 255)
) )
ifce, err := NewTAP("test") ifce, err := New(Config{DeviceType: TAP})
if err != nil { if err != nil {
t.Fatalf("creating TAP error: %v\n", err) t.Fatalf("creating TAP error: %v\n", err)
} }