소스 검색

Slightly more helpful msg on mismatched service pk digest in INTRODUCE2 cell

svn:r1486
Nick Mathewson 21 년 전
부모
커밋
7b1939db2d
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/or/rendservice.c

+ 3 - 1
src/or/rendservice.c

@@ -342,7 +342,9 @@ rend_service_introduce(circuit_t *circuit, const char *request, int request_len)
     return -1;
   }
   if (!memcmp(circuit->rend_pk_digest, request, 20)) {
-    log_fn(LOG_WARN, "Got an INTRODUCE2 cell for the wrong service");
+    hex_encode(request, 4, hexid);
+    log_fn(LOG_WARN, "Got an INTRODUCE2 cell for the wrong service (%s)",
+           hexid);
     return -1;
   }