From 88e081691b5b1cbe104605613bb8a584f562093d Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Tue, 3 Dec 2019 16:53:39 +0100 Subject: [PATCH] Fixed enumerator build for openbsd (unsupported operation) --- enumerator/usb_openbsd.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 enumerator/usb_openbsd.go diff --git a/enumerator/usb_openbsd.go b/enumerator/usb_openbsd.go new file mode 100644 index 0000000..3a43a85 --- /dev/null +++ b/enumerator/usb_openbsd.go @@ -0,0 +1,12 @@ +// +// Copyright 2014-2020 Cristian Maglie. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. +// + +package enumerator + +func nativeGetDetailedPortsList() ([]*PortDetails, error) { + // TODO + return nil, &PortEnumerationError{} +}