diff options
author | Christian Pointner <equinox@anytun.org> | 2009-02-03 23:56:14 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-02-03 23:56:14 +0000 |
commit | d399c8468aedc975d52632624786681a3a7ceacc (patch) | |
tree | 9ecd5d78a56ccef3e18a001685b88c0447da09d2 /src/uanytun.c | |
parent | droping privileges without chroot is now possible (diff) |
new ifconfig syntax (only command line parser yet)
Diffstat (limited to 'src/uanytun.c')
-rw-r--r-- | src/uanytun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uanytun.c b/src/uanytun.c index 48cc020..c80ca8b 100644 --- a/src/uanytun.c +++ b/src/uanytun.c @@ -358,7 +358,7 @@ int main(int argc, char* argv[]) #endif tun_device_t dev; - ret = tun_init(&dev, opt.dev_name_, opt.dev_type_, opt.ifconfig_param_local_, opt.ifconfig_param_remote_netmask_); + ret = tun_init(&dev, opt.dev_name_, opt.dev_type_, opt.ifconfig_param_.net_addr_, opt.ifconfig_param_.prefix_length_); if(ret) { log_printf(ERR, "error on tun_init, exitting"); options_clear(&opt); |