From 2308440fb6df29eba2863b24c1a8f910c2cd8c60 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@lothar.com>
Date: Sat, 22 Nov 2008 23:13:23 -0700
Subject: [PATCH] control.py: use get_buckets() instead of get_version() to
 measure ping time, because the latter changed recently

---
 src/allmydata/control.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/allmydata/control.py b/src/allmydata/control.py
index b566231f..73756605 100644
--- a/src/allmydata/control.py
+++ b/src/allmydata/control.py
@@ -81,7 +81,7 @@ class ControlServer(Referenceable, service.Service):
             return results
         peerid, connection = everyone_left.pop(0)
         start = time.time()
-        d = connection.callRemote("get_version")
+        d = connection.callRemote("get_buckets", "\x00"*16)
         def _done(ignored):
             stop = time.time()
             elapsed = stop - start
-- 
2.45.2