Browse Source

when a begin cell has an invalid port, give us a better hint of
what went wrong


svn:r2435

Roger Dingledine 21 years ago
parent
commit
6468e049be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/connection_edge.c

+ 1 - 1
src/or/connection_edge.c

@@ -758,7 +758,7 @@ int connection_exit_begin_conn(cell_t *cell, circuit_t *circ) {
   *colon = 0;
 
   if(!atoi(colon+1)) { /* bad port */
-    log_fn(LOG_WARN,"relay begin cell has invalid port. Dropping.");
+    log_fn(LOG_WARN,"relay begin cell has invalid port '%s'. Dropping.", colon+1);
     return 0;
   }