Full patch attached. Apparently iprt needs a small patch as well.<div><br></div><div>Christophe<br><br><div class="gmail_quote">On Mon, Jan 16, 2012 at 10:13 PM, Christophe Devriese <span dir="ltr"><<a href="mailto:christophe.devriese@gmail.com">christophe.devriese@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>Having a UDP source port of 0 is not actually a mistake. By passing this value you're asking the kernel to assign a free source port for your socket. This is a desirable feature imho. </div>

<div>
<br></div><div>The attached patch should make sport=0 an option for udptunnel drivers.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Christophe</div>
</font></span></blockquote></div><br></div>