[vbox-dev] Small "bug" in DrvUDPTunnel

Christophe Devriese christophe.devriese at gmail.com
Mon Jan 16 03:13:14 PST 2012


Hi,

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.

The attached patch should make sport=0 an option for udptunnel drivers.

Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20120116/fa073ffa/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: udpTunnelRandomSourcePort.patch
Type: text/x-patch
Size: 531 bytes
Desc: not available
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20120116/fa073ffa/attachment-0001.bin 


More information about the vbox-dev mailing list