Index: pass_fd.c =================================================================== RCS file: /cvsroot/ser/sip_router/pass_fd.c,v retrieving revision 1.7 diff -u -r1.7 pass_fd.c --- pass_fd.c 28 Sep 2004 18:10:08 -0000 1.7 +++ pass_fd.c 30 Aug 2005 13:26:14 -0000 @@ -102,7 +102,7 @@ }control_un; msg.msg_control=control_un.control; - msg.msg_controllen=sizeof(control_un.control); + msg.msg_controllen=CMSG_LEN(sizeof(fd)) /*sizeof(control_un.control)*/; cmsg=CMSG_FIRSTHDR(&msg); cmsg->cmsg_level = SOL_SOCKET;