瀏覽代碼

another case where the poor server operator doesn't need to
hear about lexi's bugs.


svn:r5388

Roger Dingledine 20 年之前
父節點
當前提交
74d1ca66c0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/relay.c

+ 1 - 1
src/or/relay.c

@@ -797,7 +797,7 @@ connection_edge_process_relay_cell_not_open(
     return 0;
   }
 
-  warn(LD_PROTOCOL,
+  log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
        "Got an unexpected relay command %d, in state %d (%s). Closing.",
        rh->command, conn->state, conn_state_to_string(conn->type, conn->state));
   connection_edge_end(conn, END_STREAM_REASON_TORPROTOCOL, conn->cpath_layer);