diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-29 14:48:39 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-29 14:48:39 -0700 |
| commit | 2fc3d12fb66d94387d537c4d2c4c1e7a7ca4beeb (patch) | |
| tree | 213012bdfda8de8ee2f602a511e6426cbcee6b98 /osdep | |
| parent | 4fe9a4fe8376237ffba684a3e0be2edb14527fe1 (diff) | |
| download | infinitytier-2fc3d12fb66d94387d537c4d2c4c1e7a7ca4beeb.tar.gz infinitytier-2fc3d12fb66d94387d537c4d2c4c1e7a7ca4beeb.zip | |
Minor tweaks to member code in controller, and fix Linux build.
Diffstat (limited to 'osdep')
| -rw-r--r-- | osdep/ManagedRoute.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/ManagedRoute.cpp b/osdep/ManagedRoute.cpp index 127f1b7d..1fc6c78e 100644 --- a/osdep/ManagedRoute.cpp +++ b/osdep/ManagedRoute.cpp @@ -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__ -------------------------------------------------------- } |
