Skip to content

Commit

Permalink
Fix mobile builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lixmal committed Jun 5, 2024
1 parent 279af12 commit be663a8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions client/internal/routemanager/systemops/systemops_mobile.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
package systemops

import (
"errors"
"net/netip"
)

var ErrRoutingIsSeparate = errors.New("routing is separate")

func hasSeparateRouting() ([]netip.Prefix, error) {
return nil, ErrRoutingIsSeparate
func IsAddrRouted(addr netip.Addr, vpnRoutes []netip.Prefix) (bool, netip.Prefix) {
return false, nil
}

0 comments on commit be663a8

Please sign in to comment.