Browse code

sctp: minor fix for sctp_send_reties fixup

- the value too high check was done only if compiled without sctp support
(#ifndef USE_SCTP instead of USE_SCTP)

Andrei Pelinescu-Onciul authored on 07/11/2008 21:07:21
Showing 1 changed files
... ...
@@ -57,6 +57,7 @@ void sctp_options_check()
57 57
 	W_OPT_NSCTP(sctp_autoclose);
58 58
 	W_OPT_NSCTP(sctp_send_ttl);
59 59
 	W_OPT_NSCTP(sctp_send_retries);
60
+#else
60 61
 	if (sctp_options.sctp_send_retries>MAX_SCTP_SEND_RETRIES) {
61 62
 		WARN("sctp: sctp_send_retries too high (%d), setting it to %d\n",
62 63
 				sctp_options.sctp_send_retries, MAX_SCTP_SEND_RETRIES);