]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
when a begin cell has an invalid port, give us a better hint of
authorRoger Dingledine <arma@torproject.org>
Sun, 10 Oct 2004 01:47:24 +0000 (01:47 +0000)
committerRoger Dingledine <arma@torproject.org>
Sun, 10 Oct 2004 01:47:24 +0000 (01:47 +0000)
what went wrong

svn:r2435

src/or/connection_edge.c

index 7aee5fa63383e3abf11fa164e1f813648091433f..40669a555e17171192a2fdef120ed4aa4fbf103f 100644 (file)
@@ -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;
   }