--- gvpe/src/device-tincd.C 2003/10/16 20:13:21 1.7 +++ gvpe/src/device-tincd.C 2004/01/17 01:18:36 1.9 @@ -1,6 +1,6 @@ /* device-tincd.C -- include one of the tincd low level implementations. - Copyright (C) 2003 Marc Lehmann + Copyright (C) 2003-2004 Marc Lehmann This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -136,15 +136,17 @@ tap_device::tap_device () { + device = "(null)"; + if (setup_device ()) { - slog (L_DEBUG, _("interface %s initialized"), info ()); + slog (L_DEBUG, _("interface %s on %s initialized"), info (), device); fd = device_fd; strcpy (ifrname, iface); } else { - slog (L_ERR, _("error while configuring tincd device (%s)"), info ()); + slog (L_ERR, _("error while configuring tincd device %s on %s"), info (), device); exit (1); } }