diff options
| author | zwf <[email protected]> | 2023-01-21 03:57:13 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-20 11:57:13 -0800 |
| commit | 15cfa3bf624b1475f9273b23905159417f5979be (patch) | |
| tree | 6e763ff48240d317815fdeac6e8e8c21d989ec11 /one.cpp | |
| parent | 9c9d1650d1f97f57addaf4027a8579d308eed6d5 (diff) | |
exclude static route with via ip in route helper (#1791)
When adding Routes to zerotier's Managed Routes, the helper will
add a route rule to the device that does not have a via ip,
so that the address of the Destination segment cannot be routed
correctly within the container.
Here, based on the contents of the routes key in
`zerotier-cli -j listnetworks`,
by determining whether the via key has an ip address,
if it is not null, helper will no longer add route rules.
Diffstat (limited to 'one.cpp')
0 files changed, 0 insertions, 0 deletions
