diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-08 20:36:33 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-08 20:36:33 -0400 |
| commit | 6eb77da0947377712bf331ba25424dfe0f7a34e0 (patch) | |
| tree | b3d79e6ceb14f92ae85a71b54ba9b5bbd4e156c6 /node/Node.cpp | |
| parent | 366f556e5b80ee44edb575f51b48dde09874fad8 (diff) | |
| download | infinitytier-6eb77da0947377712bf331ba25424dfe0f7a34e0.tar.gz infinitytier-6eb77da0947377712bf331ba25424dfe0f7a34e0.zip | |
Fix for issue #6: OSX tap device forgets it has IPv6
Diffstat (limited to 'node/Node.cpp')
| -rw-r--r-- | node/Node.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/node/Node.cpp b/node/Node.cpp index 85029e81..ab7794b8 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -273,11 +273,12 @@ Node::ReasonForTermination Node::run() lastNetworkFingerprintCheck = now; uint64_t fp = _r->sysEnv->getNetworkConfigurationFingerprint(); if (fp != networkConfigurationFingerprint) { - LOG("netconf fingerprint change: %.16llx != %.16llx, pinging all peers",networkConfigurationFingerprint,fp); + LOG("netconf fingerprint change: %.16llx != %.16llx, resyncing with network",networkConfigurationFingerprint,fp); networkConfigurationFingerprint = fp; pingAll = true; lastAutoconfigureCheck = 0; // check autoconf after network config change lastMulticastCheck = 0; // check multicast group membership after network config change + _r->nc->whackAllTaps(); // call whack() on all tap devices } } |
