From fc18334dbbd4445a208ed1dcbe4070feaa385ce3 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 13 Aug 2013 15:14:03 -0400 Subject: Version 0.4.3 (the real one): fix Gentoo ip config failures and crashes This version fixes problems with locating the 'ip' command on Gentoo and possibly other Linux systems, and a problem that could cause a crash if EthernetTap was unable to locate one of the commands it invokes to configure IP information on tap devices. The code also now builds on Windows. It doesn't run yet, but it's a step. Windows port is in full swing. Finally, the multicast rate limit defaults were raised a little. More testing is needed here, and real world measurments. --- node/RateLimiter.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'node/RateLimiter.hpp') diff --git a/node/RateLimiter.hpp b/node/RateLimiter.hpp index 69d47d0a..e5403717 100644 --- a/node/RateLimiter.hpp +++ b/node/RateLimiter.hpp @@ -135,6 +135,15 @@ public: return allow; } + /** + * @return Current balance + */ + inline double balance() const + throw() + { + return _balance; + } + private: double _lastTime; double _balance; -- cgit v1.2.3