summaryrefslogtreecommitdiff
path: root/osdep
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2018-07-20 15:53:19 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2018-07-20 15:53:19 -0700
commitfa7e7fc6f976e3ad27fd1212d3ba17148764bc21 (patch)
treeb5f5721c2ed97b104ba1fa951499e4cafac61e4d /osdep
parent5b114791e52c046be3b5db254566928ccc6c7a23 (diff)
downloadinfinitytier-fa7e7fc6f976e3ad27fd1212d3ba17148764bc21.tar.gz
infinitytier-fa7e7fc6f976e3ad27fd1212d3ba17148764bc21.zip
Revert fix for GitHub issue #600 because it causes route objects to build up forever (at least on Mac). Bleh. #600 is a rare issue and will need some other fix after reliable duplication.
Diffstat (limited to 'osdep')
-rw-r--r--osdep/ManagedRoute.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/osdep/ManagedRoute.cpp b/osdep/ManagedRoute.cpp
index d7c80704..324fada0 100644
--- a/osdep/ManagedRoute.cpp
+++ b/osdep/ManagedRoute.cpp
@@ -246,6 +246,7 @@ static std::vector<_RTE> _getRTEs(const InetAddress &target,bool contains)
static void _routeCmd(const char *op,const InetAddress &target,const InetAddress &via,const char *ifscope,const char *localInterface)
{
+ //char f1[1024],f2[1024]; printf("%s %s %s %s %s\n",op,target.toString(f1),via.toString(f2),ifscope,localInterface);
long p = (long)fork();
if (p > 0) {
int exitcode = -1;