Files
statuspanel/internal/probe/route_other.go
2026-07-05 14:26:03 -03:00

17 lines
309 B
Go

//go:build !linux
package probe
import (
"context"
"net"
)
// GatewayForInterface returns the default IPv4 gateway for an interface.
func GatewayForInterface(ctx context.Context, iface string) (net.IP, error) {
if err := ctx.Err(); err != nil {
return nil, err
}
return nil, errUnsupportedGateway
}