Minor tweaks to member code in controller, and fix Linux build.

This commit is contained in:
Adam Ierymenko 2016-09-29 14:48:39 -07:00
commit 2fc3d12fb6
3 changed files with 7 additions and 8 deletions

View file

@ -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__ --------------------------------------------------------
}