commit db723678de399977274e8e66c4a1b735548a4362 Author: Karsten Loesing karsten.loesing@gmx.net 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@lists.torproject.org