--- gvpe/src/device-linux.C 2005/03/18 01:53:05 1.10 +++ gvpe/src/device-linux.C 2005/03/23 21:55:39 1.12 @@ -42,6 +42,8 @@ #endif #define DEFAULT_DEVICE "/dev/net/tun" +#include "gettext.h" + #include "conf.h" #if TEST_ETHEREMU @@ -55,6 +57,12 @@ return _("Linux tun/tap device"); } +const char * +tap_device::if_up () +{ + return "/sbin/ifconfig $IFNAME hw ether $MAC mtu $MTU up"; +} + tap_device::tap_device () { struct ifreq ifr;