udp: initialize common structure only once
authorGerrit Renker <grenker@cscs.ch>
Sun, 30 May 2010 16:06:33 +0000 (18:06 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 9 Jun 2010 17:55:51 +0000 (19:55 +0200)
When temporarily closing the UDP stream (e.g. due to 'next' or 'ff'
command), the UDP file descriptor need not be closed.  Hence this
patch moves its initialization into the add_target() function.

The patch also factors global variables out of mcast_sender_setup() function.


No differences found