Update client/internal/networkmonitor/check_change_darwin.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Zoltan Papp
2025-10-14 12:18:00 +02:00
committed by GitHub
parent 885b5c68ad
commit bfa776c155

View File

@@ -19,7 +19,7 @@ import (
"github.com/netbirdio/netbird/client/internal/routemanager/systemops"
)
// todo: refactor to do not use static functions
// todo: refactor to not use static functions
func checkChange(ctx context.Context, nexthopv4, nexthopv6 systemops.Nexthop) error {
fd, err := unix.Socket(syscall.AF_ROUTE, syscall.SOCK_RAW, syscall.AF_UNSPEC)