Plumb interface for IPv6 with I_LINK ioctl we do for Legacy IP
authorKazuyoshi Aizawa <admin2@whiteboard.ne.jp>
Mon, 12 Dec 2011 18:10:20 +0000 (18:10 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 12 Dec 2011 18:14:16 +0000 (18:14 +0000)
commitc77af62db8ad78bbc97057a844d0120def78fd7b
tree6a9fe0a279dccd493c3dc2d442d20842a555bc85
parent0f5d240582cdaac0d32152077e036c9cb7322979
Plumb interface for IPv6 with I_LINK ioctl we do for Legacy IP

This fixes the inconsistency noted in commit 5f873b34 — that we plumb the
interface from openconnect itself for Legacy IP, but use 'ifconfig' in the
vpnc-script to set it up for IPv6. Which has the potential to leave a stale
interface lying around if openconnect exits uncleanly.

Signed-off-by: Kazuyoshi Aizawa <admin2@whiteboard.ne.jp>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
openconnect-internal.h
tun.c