mirror of
https://github.com/yggdrasil-network/water.git
synced 2025-05-19 16:35:10 +03:00
Adjusts Tests with Changes
This commit is contained in:
parent
341e40fcee
commit
80efdb6991
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue