Files
olm/olm/interface_guid_stub.go
Owen 16362f285d Basic windows is working
Former-commit-id: 2c62f9cc2a
2025-11-24 14:41:04 -05:00

16 lines
354 B
Go

//go:build !windows
package olm
import (
"fmt"
"golang.zx2c4.com/wireguard/tun"
)
// GetInterfaceGUIDString is only implemented for Windows
// This stub is provided for compilation on other platforms
func GetInterfaceGUIDString(tunDevice tun.Device) (string, error) {
return "", fmt.Errorf("GetInterfaceGUIDString is only supported on Windows")
}