mirror of
https://github.com/safing/portmaster.git
synced 2026-06-19 20:44:35 +00:00
Rename ensureSPNCompatibility to reconcileCompatibilityState and extract the implementation logic to improve code clarity and maintainability across all platform implementations.
17 lines
377 B
Go
17 lines
377 B
Go
//go:build !linux && !windows
|
|
|
|
package ivpn
|
|
|
|
import (
|
|
"github.com/safing/portmaster/service/mgr"
|
|
"github.com/safing/portmaster/spn/hub"
|
|
)
|
|
|
|
type platformSpecific struct{}
|
|
|
|
func (i *InteropIvpn) spnConnectingHook(w *mgr.WorkerCtx, hookCtx hub.Announcement) (cancel bool, err error) {
|
|
return true, nil
|
|
}
|
|
func (i *InteropIvpn) reconcileCompatibilityState(wc *mgr.WorkerCtx) {
|
|
}
|