1 | /* |
1 | /* |
2 | device-tincd.C -- include one of the tincd low level implementations. |
2 | device-tincd.C -- include one of the tincd low level implementations. |
3 | Copyright (C) 2003 Marc Lehmann <pcg@goof.com> |
3 | Copyright (C) 2003-2004 Marc Lehmann <pcg@goof.com> |
4 | |
4 | |
5 | This program is free software; you can redistribute it and/or modify |
5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by |
6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or |
7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. |
8 | (at your option) any later version. |
… | |
… | |
145 | strcpy (ifrname, iface); |
145 | strcpy (ifrname, iface); |
146 | } |
146 | } |
147 | else |
147 | else |
148 | { |
148 | { |
149 | slog (L_ERR, _("error while configuring tincd device %s on %s"), info (), device); |
149 | slog (L_ERR, _("error while configuring tincd device %s on %s"), info (), device); |
150 | exit (1); |
150 | exit (EXIT_FAILURE); |
151 | } |
151 | } |
152 | } |
152 | } |
153 | |
153 | |
154 | tap_device::~tap_device () |
154 | tap_device::~tap_device () |
155 | { |
155 | { |