*** gst/udp/gstudpsrc.c.orig	Fri Jan 10 18:22:21 2003
--- gst/udp/gstudpsrc.c	Mon Mar 24 12:41:31 2003
***************
*** 203,208 ****
--- 203,209 ----
        	    ret = read (fdread, buf, 1024*10);
  	    break;
      	case CONTROL_UDP:
+       	    len = sizeof (struct sockaddr);
        	    ret = recvfrom (udpsrc->control_sock, buf, 1024*10, 0, (struct sockaddr *)&tmpaddr, &len);
        	    if (ret < 0) {
  		perror ("recvfrom");
***************
*** 253,258 ****
--- 254,260 ----
        	GST_BUFFER_TIMESTAMP (outbuf) = GST_CLOCK_TIME_NONE;
        }
  
+       len = sizeof (struct sockaddr);
        numbytes = recvfrom (udpsrc->sock, GST_BUFFER_DATA (outbuf),
  		  GST_BUFFER_SIZE (outbuf), 0, (struct sockaddr *)&tmpaddr, &len);
  
