chiark / gitweb /
tun: Drop support for Linux 2.2.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 1 Jul 2011 22:57:15 +0000 (23:57 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 1 Jul 2011 22:57:15 +0000 (23:57 +0100)
commit621c2861c31c4eba4a49342011463f485856068a
treee32beb7bd79221cdde2456f5b7f1ff9ef6edd72a
parent508bb58325dbacebda8dd6ec7703c5446c339d21
tun: Drop support for Linux 2.2.

tun.c attempted to guess at runtime what kind of tun interface to use
by looking at uname.  Specifically, for Linux it would do
  TUN_FLAVOUR_BSD if u.release starts 2.2
  TUN_FLAVOUR_LINUX if u.release starts 2.4
and require the user to specify, otherwise.

Linux 2.6 and all later versions use TUN_FLAVOUR_LINUX.  The guessing
code is pretty nasty and Linux 2.2 is very very obsolete, so drop it.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tun.c