Thanks for the suggestions. Please see revised patch. Cheers, Brian On Mon, Jun 2, 2014 at 6:59 PM, Nikos Mavrogiannopoulos <n.mavrogiannopoulos at gmail.com> wrote: > On Mon, Jun 2, 2014 at 10:28 AM, Brian Chu <cynix at cynix.org> wrote: >> >> SIOCAIFADDR should be used to set the addresses of a tun interface on >> FreeBSD. >> >> And a trivial patch to fix a missing argument to an error message. > > > > Thank you. It would be better if the snippet in remove_proc() was moved to > tun.c as close_tun() and be called from there. (See also Stuart's comment). > > regards, > Nikos > -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Fix-tun-device-usage-on-BSD.patch Type: application/octet-stream Size: 4910 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20140602/3c906972/attachment.obj>