Small bug when SCTP not available

master
Stephane Bortzmeyer 17 years ago
parent 984691b672
commit b612eacdbd

@ -148,9 +148,7 @@ main(argc, argv)
int tos_requested = 0; int tos_requested = 0;
int protocol; int protocol;
boolean sctp_requested = FALSE; boolean sctp_requested = FALSE;
#ifdef HAVE_SCTP
int sctp = 0; int sctp = 0;
#endif
#ifdef HAVE_TCP_INFO #ifdef HAVE_TCP_INFO
struct tcp_info tcpinfo; struct tcp_info tcpinfo;
socklen_t socket_length = sizeof(tcpinfo); socklen_t socket_length = sizeof(tcpinfo);

Loading…
Cancel
Save