--- gvpe/src/device-tincd.C 2005/03/25 15:38:07 1.17 +++ gvpe/src/device-tincd.C 2005/03/25 16:05:22 1.18 @@ -80,6 +80,8 @@ *res = conf.ifname; else if (!strcmp (key, "Device")) *res = 0; + else if (!strcmp (key, "DeviceType")) + *res = "tap"; else { slog (L_ERR, _("tincd layer asking for unknown config '%s'"), key); @@ -95,6 +97,10 @@ # include "tincd/linux/device.c" const char * tap_device::if_up () { return "/sbin/ifconfig $IFNAME hw ether $MAC mtu $MTU"; } +#elif IF_bsd +# include "tincd/bsd/device.c" +const char * tap_device::if_up () { return "/sbin/ifconfig $IFNAME ether $MAC mtu $MTU"; } + #elif IF_freebsd # include "tincd/freebsd/device.c" const char * tap_device::if_up () { return "/sbin/ifconfig $IFNAME ether $MAC mtu $MTU"; }