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 1249
 		"s:"
1249 1250
 #endif
1250 1251
 	;
1252
+	
1253
+#ifdef USE_TCP
1254
+	init_tcp_options(); /* set the defaults before the config */
1255
+#endif
1251 1256
 	/* look if there is a -h, e.g. -f -h construction won't catch it later */
1252 1257
 	opterr = 0;
1253 1258
 	while((c=getopt(argc,argv,options))!=-1) {