From b59af50aece804a8c22f7d71e0555f5fe574ac12 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 28 Dec 2008 17:05:32 +0000 Subject: int main() is pretty finished now --- src/tun_helper.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/tun_helper.h') diff --git a/src/tun_helper.h b/src/tun_helper.h index c403f28..b403891 100644 --- a/src/tun_helper.h +++ b/src/tun_helper.h @@ -55,7 +55,9 @@ void tun_conf(tun_device_t* dev, const char* dev_name, const char* dev_type, con else if(!strncmp(dev_name, "tap", 3)) dev->type_ = TYPE_TAP; } - + + dev->local_ = NULL; + dev->remote_netmask_ = NULL; if(ifcfg_lp) dev->local_ = strdup(ifcfg_lp); if(ifcfg_rnmp) -- cgit v1.2.3