Don't attempt to configure Legacy IP address on tun device.
authorDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 16 Apr 2012 14:28:05 +0000 (15:28 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 16 Apr 2012 14:28:05 +0000 (15:28 +0100)
commitad9c6573c48a3c62e4fa84e36cf98ec5328c6f11
tree2e9dd5b5e6bf513985d9716d2f4ddd6c7ea264ea
parent88ecf7dacf006393dcebc144e151498a1facb37e
Don't attempt to configure Legacy IP address on tun device.

This was only setting the Legacy IP address and not IPv6, and it wasn't
setting up any routes or nameservers. It wasn't even setting a *netmask*,
so wasn't even useful in the simple case of a VPN serving a single network
range. I can't think of a single case in which it was actually useful.

This is my response to the patch from Stanislav Sedov which makes the IP
configuration code work on FreeBSD 10. The tun code is a big enough mess
of OS-specific ifdefs already; I don't want it getting even worse, so let's
just rip this bit out.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
tun.c
www/changelog.xml