-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 25/11/11 11:57, David Sommerseth wrote: > From: David Sommerseth <d...@users.sourceforge.net> > > In commit ce637abdafdc19547fc97192033a4d1703ecaf23 the Linux 2.2 > support was removed. When this happened an extra error check was > avoided which would normally kicked in if the tun/tap device would > not be available. Instead the following line was filling the log > continously: > > Thu Nov 24 22:33:15 2011 read from TUN/TAP : File descriptor in bad > state (code=77) > > This patch changes the msg() declarations to use the M_FATAL *) flag, > which will halt the execution of the program in these error > sitauations. As the program will really halt, the return declarations > was also removed. > > *) #define M_ERR (M_FATAL | M_ERRNO) (from error.h) > > Signed-off-by: David Sommerseth <d...@users.sourceforge.net> --- > tun.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) >
Applied to master branch in -stable and -testing. commit e7d1ac82f9a21ef91030e4f104d4ef0810b07f8e Author: David Sommerseth <d...@users.sourceforge.net> List-Post: openvpn-devel@lists.sourceforge.net Date: Thu Nov 24 22:45:21 2011 +0100 Fix bug after removing Linux 2.2 support Signed-off-by: David Sommerseth <d...@users.sourceforge.net> Acked-by: Gert Doering <g...@greenie.muc.de> kind regards, David Sommerseth -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7PwpkACgkQDC186MBRfroAkgCfdqLb4FuOFhunFZrtzBsYjrhL yv0AniPang2dib+ltujnseCdnUWrTkxb =2gSS -----END PGP SIGNATURE-----