]> git.tue.mpg.de Git - paraslash.git/commit
udp_send: Fix com_off.
authorAndre Noll <maan@systemlinux.org>
Thu, 8 Apr 2010 18:23:15 +0000 (20:23 +0200)
committerAndre Noll <maan@systemlinux.org>
Thu, 8 Apr 2010 18:23:15 +0000 (20:23 +0200)
commit91edaa02c232edf82b93a928058c044df80badc1
treeb7fa5e4e488c138c67f48245fe9e2d316dcef6c4
parentc52d8d08b47bc556cb5149bbb376d7d27a0b7cbc
udp_send: Fix com_off.

When the off command is executed, the udp sender sends an eof packet
to all configured targets. However, it then continues to send data.

Fix this by returning early in udp_send_fec() if the sender has been
switched off.
udp_send.c