--- gvpe/src/device-linux.C 2003/10/16 13:37:10 1.6 +++ gvpe/src/device-linux.C 2005/03/18 02:32:20 1.11 @@ -1,8 +1,10 @@ /* device-linux.C -- Interaction with Linux tun/tap device - Copyright (C) 2003 Marc Lehmann + Copyright (C) 2003-2005 Marc Lehmann - This program is free software; you can redistribute it and/or modify + This file is part of GVPE. + + GVPE is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. @@ -13,7 +15,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software + along with gvpe; if not, write to the Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ @@ -66,7 +68,7 @@ if (fd < 0) { slog (L_ERR, _("could not open device %s: %s"), device, strerror (errno)); - exit (1); + exit (EXIT_FAILURE); } memset (&ifr, 0, sizeof (ifr)); @@ -89,7 +91,7 @@ else { slog (L_CRIT, _("unable to configure tun/tap interface: %s"), strerror (errno)); - exit (1); + exit (EXIT_FAILURE); } if (ioctl (fd, TUNSETPERSIST, conf.ifpersist ? 1 : 0))