summaryrefslogtreecommitdiffhomepage
path: root/interfaces/bindtodevice_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/bindtodevice_windows.go')
-rw-r--r--interfaces/bindtodevice_windows.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/interfaces/bindtodevice_windows.go b/interfaces/bindtodevice_windows.go
new file mode 100644
index 0000000..6de9b4d
--- /dev/null
+++ b/interfaces/bindtodevice_windows.go
@@ -0,0 +1,8 @@
+package interfaces
+
+import "errors"
+
+// BindToInterface fails on Windows.
+func BindToInterface(fd int, ifname string) error {
+ return errors.New("not implemented on Windows")
+}