Only send netinfo clock_skew to controller if an authority told us so
commit64f393d56f8ff58223db56f3b8e64f0074877616
authorRoger Dingledine <arma@torproject.org>
Fri, 28 Aug 2009 07:42:09 +0000 (28 03:42 -0400)
committerRoger Dingledine <arma@torproject.org>
Fri, 28 Aug 2009 07:42:09 +0000 (28 03:42 -0400)
tree0849d2d72e12be11036892c038f06000c790aed4
parentd52284559b7e06521cff2c7e8f3c710922b73dc6
Only send netinfo clock_skew to controller if an authority told us so

We were triggering a CLOCK_SKEW controller status event whenever
we connect via the v2 connection protocol to any relay that has
a wrong clock. Instead, we should only inform the controller when
it's a trusted authority that claims our clock is wrong. Bugfix
on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
ChangeLog
doc/spec/control-spec.txt
src/or/command.c