mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-13 08:57:28 +02:00
Fix routing issues with MacOS (#1815)
* Handle zones properly * Use host routes for single IPs * Add GOOS and GOARCH to startup log * Log powershell command
This commit is contained in:
@ -487,6 +487,9 @@ func removeAllRules(params ruleParams) error {
|
||||
func addNextHop(addr netip.Addr, intf string, route *netlink.Route) error {
|
||||
if addr.IsValid() {
|
||||
route.Gw = addr.AsSlice()
|
||||
if intf == "" {
|
||||
intf = addr.Zone()
|
||||
}
|
||||
}
|
||||
|
||||
if intf != "" {
|
||||
|
Reference in New Issue
Block a user