[PATCH] Avoiding segfault in Snow Leopard when not using -i option
David Woodhouse
dwmw2 at infradead.org
Sat Feb 27 17:02:25 EST 2010
On Sat, 27 Feb 2010, Jørgen Wahlberg wrote:
> I am testing openconnect on Mac OS X (Snow Leopard, 10.6.2) and
> experienced a problem when connecting using the example in the
> documentation (openconnect --script /etc/vpnc/vpnc-script
> https://vpn.mycompany.com/) - openconnect crashed because of a
> segmentation violation. I compiled openconnect from HEAD in the Git
> repository. Using the -i option to specify the tun interface was an
> acceptable workaround for me, but nevertheless, I submit a patch.
Thanks. I've committed a slightly modified version, so we do still set
$TUNDEV later. Without that, the script won't actually do its job
properly.
I'm not entirely sure whether the script works properly on OSX at all, in
fact -- does it?
--
dwmw2
More information about the openconnect-devel
mailing list