[fix] windows reload should check via#1166
Conversation
|
Thanks for the contribution! Before we can merge this, we need @sohunjug to sign the Salesforce Inc. Contributor License Agreement. |
|
Line 26 a at the top of this method says: So is that comment incorrect? |
windows when i want change unsafe_route: via, reload will create multi routes with different via |
|
Digging into the situation here, Windows is treated differently than the other operating systems and I'm not sure there is a good reason for it. The destination for the route is recorded as the The ideal fix here would be have windows install the route destination as the nebula tun device instead, which would match the other OSs behavior in silently erroring on installing a duplicate route, unless Windows is happy to add the duplicate route, in which case I would prefer we add a specific check for Windows only on equating In the end I suspect this is largely a vanity issue since |
When using this library for secondary development as a dependency, or when invoking a reload through sshd, if you modify unsafe_route corresponding to via, please delete the old information.