diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-22 14:23:13 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-22 14:23:13 -0800 |
commit | 84732fcb12d66708e7887fba51413cbe629d86d3 (patch) | |
tree | fc034a71d0c421ed2b5b1dbf0426700e8adeedfa /service | |
parent | c6c578ce1db2bb6acfeb8de15c90169282eb2c49 (diff) | |
download | infinitytier-84732fcb12d66708e7887fba51413cbe629d86d3.tar.gz infinitytier-84732fcb12d66708e7887fba51413cbe629d86d3.zip |
Wire through external path lookup. Static paths should now work.
Diffstat (limited to 'service')
-rw-r--r-- | service/OneService.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp index 7434ca67..a2024e52 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -1163,6 +1163,7 @@ public: // Internal implementation methods ----------------------------------------- + // Must be called after _localConfig is read or modified void applyLocalConfig() { Mutex::Lock _l(_localConfig_m); @@ -1872,6 +1873,12 @@ public: } } + /* Note: I do not think we need to scan for overlap with managed routes + * because of the "route forking" and interface binding that we do. This + * ensures (we hope) that ZeroTier traffic will still take the physical + * path even if its managed routes override this for other traffic. Will + * revisit if we see recursion problems. */ + // Check blacklists const Hashtable< uint64_t,std::vector<InetAddress> > *blh = (const Hashtable< uint64_t,std::vector<InetAddress> > *)0; const std::vector<InetAddress> *gbl = (const std::vector<InetAddress> *)0; @@ -1897,12 +1904,6 @@ public: } } - /* Note: I do not think we need to scan for overlap with managed routes - * because of the "route forking" and interface binding that we do. This - * ensures (we hope) that ZeroTier traffic will still take the physical - * path even if its managed routes override this for other traffic. Will - * revisit if we see problems with this. */ - return 1; } |