verbose info about used ports
Brought to you by:
ksmathers
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;
}
------------------------------------