summaryrefslogtreecommitdiff
path: root/osdep/ManagedRoute.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-07-12 09:22:04 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-07-12 09:22:04 -0700
commit23391ff9dad8c82858cee8f1bb19ca10bf613bcb (patch)
treebe0dc60768c76ad4e2552fbe5e609ce268d40134 /osdep/ManagedRoute.cpp
parent3f2b21ce71be81ae960a4a6197555a92158a74e3 (diff)
downloadinfinitytier-23391ff9dad8c82858cee8f1bb19ca10bf613bcb.tar.gz
infinitytier-23391ff9dad8c82858cee8f1bb19ca10bf613bcb.zip
More OSX IPv6 fixes.
Diffstat (limited to 'osdep/ManagedRoute.cpp')
-rw-r--r--osdep/ManagedRoute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/ManagedRoute.cpp b/osdep/ManagedRoute.cpp
index 88fd944a..ae2f8943 100644
--- a/osdep/ManagedRoute.cpp
+++ b/osdep/ManagedRoute.cpp
@@ -415,7 +415,7 @@ bool ManagedRoute::sync()
// Shadow system route if it exists, also delete any obsolete shadows
// and replace them with the new state. sync() is called periodically to
// allow us to do that if underlying connectivity changes.
- if ( ((_systemVia != newSystemVia)||(!strcmp(_systemDevice,newSystemDevice))) && (strcmp(_device,newSystemDevice)) ) {
+ if ( ((_systemVia != newSystemVia)||(strcmp(_systemDevice,newSystemDevice))) && (strcmp(_device,newSystemDevice)) ) {
if ((_systemVia)&&(_systemDevice[0])) {
_routeCmd("delete",leftt,_systemVia,_systemDevice,(const char *)0);
_routeCmd("delete",rightt,_systemVia,_systemDevice,(const char *)0);