ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/device-tincd.C
(Generate patch)

Comparing gvpe/src/device-tincd.C (file contents):
Revision 1.7 by pcg, Thu Oct 16 20:13:21 2003 UTC vs.
Revision 1.8 by pcg, Thu Oct 16 21:12:43 2003 UTC

134 return _("tincd compatibility layer"); 134 return _("tincd compatibility layer");
135} 135}
136 136
137tap_device::tap_device () 137tap_device::tap_device ()
138{ 138{
139 device = "(null)";
140
139 if (setup_device ()) 141 if (setup_device ())
140 { 142 {
141 slog (L_DEBUG, _("interface %s initialized"), info ()); 143 slog (L_DEBUG, _("interface %s on %s initialized"), info (), device);
142 fd = device_fd; 144 fd = device_fd;
143 strcpy (ifrname, iface); 145 strcpy (ifrname, iface);
144 } 146 }
145 else 147 else
146 { 148 {
147 slog (L_ERR, _("error while configuring tincd device (%s)"), info ()); 149 slog (L_ERR, _("error while configuring tincd device %s on %s"), info (), device);
148 exit (1); 150 exit (1);
149 } 151 }
150} 152}
151 153
152tap_device::~tap_device () 154tap_device::~tap_device ()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines