diff options
Diffstat (limited to 'device/device_test.go')
-rw-r--r-- | device/device_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/device/device_test.go b/device/device_test.go index 50e3dbc..56ecd17 100644 --- a/device/device_test.go +++ b/device/device_test.go @@ -172,7 +172,7 @@ NextAttempt: // The device might still not be up, e.g. due to an error // in RoutineTUNEventReader's call to dev.Up that got swallowed. // Assume it's due to a transient error (port in use), and retry. - if !p.dev.isUp.Get() { + if !p.dev.isUp() { tb.Logf("device %d did not come up, trying again", i) p.dev.Close() continue NextAttempt |