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.11 by pcg, Fri Mar 18 02:32:20 2005 UTC vs.
Revision 1.12 by pcg, Wed Mar 23 21:55:39 2005 UTC

53 53
54const char * 54const char *
55tap_device::info () 55tap_device::info ()
56{ 56{
57 return _("Linux tun/tap device"); 57 return _("Linux tun/tap device");
58}
59
60const char *
61tap_device::if_up ()
62{
63 return "/sbin/ifconfig $IFNAME hw ether $MAC mtu $MTU up";
58} 64}
59 65
60tap_device::tap_device () 66tap_device::tap_device ()
61{ 67{
62 struct ifreq ifr; 68 struct ifreq ifr;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines