Adjusts Tests with Changes

This commit is contained in:
Matthew Ellison 2017-05-22 16:06:34 -04:00
parent 341e40fcee
commit 80efdb6991
No known key found for this signature in database
GPG key ID: A815A44BDC8DD409

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)
} }