mirror of
https://github.com/fumiama/water.git
synced 2026-06-05 02:00:29 +08:00
Adjusts Tests with Changes
This commit is contained in:
@@ -30,7 +30,7 @@ func TestBroadcast(t *testing.T) {
|
||||
brd = net.IPv4(10, 0, 42, 255)
|
||||
)
|
||||
|
||||
ifce, err := NewTAP("test")
|
||||
ifce, err := New(Config{DeviceType: TAP})
|
||||
if err != nil {
|
||||
t.Fatalf("creating TAP error: %v\n", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user