[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-lib/master] Extra-info descriptors start with "extra-info" lines.



commit db723678de399977274e8e66c4a1b735548a4362
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Sun Jan 8 16:54:00 2012 +0100

    Extra-info descriptors start with "extra-info" lines.
---
 .../impl/RelayExtraInfoDescriptorImpl.java         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/org/torproject/descriptor/impl/RelayExtraInfoDescriptorImpl.java b/src/org/torproject/descriptor/impl/RelayExtraInfoDescriptorImpl.java
index 754a79f..61e5f0f 100644
--- a/src/org/torproject/descriptor/impl/RelayExtraInfoDescriptorImpl.java
+++ b/src/org/torproject/descriptor/impl/RelayExtraInfoDescriptorImpl.java
@@ -26,7 +26,7 @@ public class RelayExtraInfoDescriptorImpl extends DescriptorImpl
         new ArrayList<RelayExtraInfoDescriptor>();
     List<byte[]> splitDescriptorsBytes =
         DescriptorImpl.splitRawDescriptorBytes(descriptorsBytes,
-        "router ");
+        "extra-info ");
     try {
       for (byte[] descriptorBytes : splitDescriptorsBytes) {
         RelayExtraInfoDescriptor parsedDescriptor =



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits