SCTP Discussions

Text archives Help


[SCTP-Discussion] bug in adl_open_udp_socket()


Chronological Thread 
  • From: Held Martin ICM N MC MI E 6 <Martin.Held AT icn.siemens.de>
  • To: discussion AT sctp.de
  • Subject: [SCTP-Discussion] bug in adl_open_udp_socket()
  • Date: Tue Apr 10 12:23:01 2001
  • List-id: SCTP Discussions <discussion.sctp.de>

Hi all,

In the file "adaptation.c" (sctplib-1.0.0-pre8), function
"adl_open_udp_socket()"
there is a bug in line 327 and 340.

line 327:
faulty: ch = bind(sfd, (struct sockaddr *) &me, sizeof(struct
sockaddr_in));
correct: ch = bind(sfd, (struct sockaddr *) me, sizeof(struct sockaddr_in));

line 340:
faulty: ch = bind(sfd, (struct sockaddr *) &me, sizeof(struct
sockaddr_in6));
correct: ch = bind(sfd, (struct sockaddr *) me, sizeof(struct
sockaddr_in6));

Cheers,
Martin



  • [SCTP-Discussion] bug in adl_open_udp_socket(), Held Martin ICM N MC MI E 6, 04/10/2001

Archive powered by MHonArc 2.6.19+.

Top of page