diff options
author | Guillaume Rose <guillaume.rose@gmail.com> | 2021-06-08 01:53:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 09:53:46 +0100 |
commit | 465dd6c35f6c983206a5bc21fbfff4819ce21eb0 (patch) | |
tree | b1ecb516857e5162249184d59fd65e5015785cc9 /interfaces/bindtodevice_windows.go | |
parent | fb4eaaa00ad29a188328380690494d9267dc1ccc (diff) |
Make server4 package compile on Windows (#428)
Diffstat (limited to 'interfaces/bindtodevice_windows.go')
-rw-r--r-- | interfaces/bindtodevice_windows.go | 8 |
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") +} |