mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 02:27:38 -07:00
Minor tweaks to member code in controller, and fix Linux build.
This commit is contained in:
parent
4fe9a4fe83
commit
2fc3d12fb6
3 changed files with 7 additions and 8 deletions
|
@ -524,11 +524,11 @@ void ManagedRoute::remove()
|
|||
#endif // __BSD__ ------------------------------------------------------------
|
||||
|
||||
#ifdef __LINUX__ // ----------------------------------------------------------
|
||||
_routeCmd("del",*r,_via,(_via) ? (const char *)0 : _device);
|
||||
_routeCmd("del",r->first,_via,(_via) ? (const char *)0 : _device);
|
||||
#endif // __LINUX__ ----------------------------------------------------------
|
||||
|
||||
#ifdef __WINDOWS__ // --------------------------------------------------------
|
||||
_winRoute(true,interfaceLuid,interfaceIndex,*r,_via);
|
||||
_winRoute(true,interfaceLuid,interfaceIndex,r->first,_via);
|
||||
#endif // __WINDOWS__ --------------------------------------------------------
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue