Travis LaDuke 117d7194af
Improve default route on macOS (#1680)
re: issue #1088
and probably: https://discuss.zerotier.com/t/default-route-issue-osx-monterey-m1/6974

// current zerotier.
// allow default adds two sets of routes.
```
netstat -rnfinet | grep "/1\|default" | sort
0/1                10.2.0.2           UGScg        feth4823
0/1                192.168.82.1       UGScIg            en7
128.0/1            10.2.0.2           UGSc         feth4823
128.0/1            192.168.82.1       UGScI             en7
default            192.168.82.1       UGScg             en7
```

Then, something chaotic happens eventually, and networking stops working.

// after patch
```
netstat -rnfinet | grep "/1\|default" | sort
0/1                10.2.0.2           UGScg        feth4823
128.0/1            10.2.0.2           UGSc         feth4823
default            192.168.82.1       UGScg             en7
```

After the change, I can still:
- use default route
- route to other subnets

I tested on high sierra through monterey
and on freebsd13.1
2022-12-13 11:52:21 +01:00
..
2020-08-20 12:51:39 -07:00
2020-08-20 12:51:39 -07:00
2020-08-20 12:51:39 -07:00
2016-12-27 11:57:05 +01:00
2020-08-20 12:51:39 -07:00
2020-11-16 11:11:52 -08:00
2020-08-20 12:51:39 -07:00
2020-08-20 12:51:39 -07:00
2020-08-20 12:51:39 -07:00
2020-08-20 12:51:39 -07:00
2020-08-20 12:51:39 -07:00
2020-08-20 12:51:39 -07:00
2022-05-13 09:34:15 -07:00
2022-09-20 14:27:34 -07:00
2020-08-20 12:51:39 -07:00
2015-03-31 14:12:33 -07:00
2020-08-12 09:16:18 -07:00
2020-08-11 18:55:42 -07:00

OS-Dependent and OS-Interface Things

This folder contains stuff that interfaces with the base operating system like Phy for network access and the various OS-specific Ethernet tap drivers.