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

Comparing gvpe/src/device-linux.C (file contents):
Revision 1.14 by pcg, Sat Mar 26 03:16:24 2005 UTC vs.
Revision 1.15 by pcg, Fri Apr 8 16:48:16 2005 UTC

99 slog (L_CRIT, _("unable to configure tun/tap interface, exiting: %s"), strerror (errno)); 99 slog (L_CRIT, _("unable to configure tun/tap interface, exiting: %s"), strerror (errno));
100 exit (EXIT_FAILURE); 100 exit (EXIT_FAILURE);
101 } 101 }
102 102
103#if 0 103#if 0
104 doesn't work 104 does not work
105 id2mac (THISNODE->id, &ifr.ifr_hwaddr.sa_data); 105 id2mac (THISNODE->id, &ifr.ifr_hwaddr.sa_data);
106 if (ioctl (fd, SIOCSIFHWADDR, &ifr)) 106 if (ioctl (fd, SIOCSIFHWADDR, &ifr))
107 { 107 {
108 slog (L_ERR, _("cannot set MAC address for device %s, exiting: %s"), ifrname, strerror (errno)); 108 slog (L_ERR, _("cannot set MAC address for device %s, exiting: %s"), ifrname, strerror (errno));
109 exit (EXIT_FAILURE); 109 exit (EXIT_FAILURE);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines