From 3db8f505b9c611100ebf0133ef90800b09f8abaa Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Tue, 4 Sep 2007 17:50:31 +0000 Subject: tunnel type fixed --- tunDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tunDevice.cpp') diff --git a/tunDevice.cpp b/tunDevice.cpp index 5653bbc..40d0f9d 100644 --- a/tunDevice.cpp +++ b/tunDevice.cpp @@ -92,7 +92,7 @@ TunDevice::TunDevice(const char* dev_name,const char* dev_type, const char* ifcf // lp = inet_addr("192.168.198.1"); // rp = inet_addr("192.168.199.1"); - dev_ = init_tun(dev_name, dev_type==""?NULL:dev_type, ifcfg_lp, ifcfg_rnmp, lp, rp, 0, NULL); + dev_ = init_tun(dev_name, dev_type, ifcfg_lp, ifcfg_rnmp, lp, rp, 0, NULL); struct frame frame; // just for win32 struct tuntap_options options; // win32 & linux options.txqueuelen = 100; // just for linux -- cgit v1.2.3