Browse code

- set default tcp options

Andrei Pelinescu-Onciul authored on 28/11/2007 21:24:32
Showing 1 changed files
... ...
@@ -136,6 +136,7 @@
136 136
 #ifdef USE_TCP
137 137
 #include "poll_types.h"
138 138
 #include "tcp_init.h"
139
+#include "tcp_options.h"
139 140
 #ifdef CORE_TLS
140 141
 #include "tls/tls_init.h"
141 142
 #define tls_has_init_si() 1
... ...
@@ -1248,6 +1249,10 @@ int main(int argc, char** argv)
1248 1248
 		"s:"
1249 1249
 #endif
1250 1250
 	;
1251
+	
1252
+#ifdef USE_TCP
1253
+	init_tcp_options(); /* set the defaults before the config */
1254
+#endif
1251 1255
 	/* look if there is a -h, e.g. -f -h construction won't catch it later */
1252 1256
 	opterr = 0;
1253 1257
 	while((c=getopt(argc,argv,options))!=-1) {