Menu

#12 verbose info about used ports

open
nobody
None
5
2007-10-08
2007-10-08
No

i had quite some trouble until i get the ports configured right.

printing ports range upon startup helped a lot in this.
here is the patch:

------------------------------------
--- a/src/context.c 2007-10-09 00:26:45.000000000 +0300
+++ b/src/context.c 2007-10-09 00:27:15.000000000 +0300
@@ -196,6 +196,9 @@
ctx->ulfactor = ulfactor;
ctx->listenport = ctx->minport;

+ printf("Min port listening on %d\n", ctx->minport);
+ printf("Max port listening on %d\n", ctx->maxport);
+
return ctx;
}

------------------------------------

Discussion


Log in to post a comment.