Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plumb interface for IPv6 with I_LINK ioctl we do for Legacy IP
This fixes the inconsistency noted in commit 5f873b3 — 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>
- Loading branch information
Showing
2 changed files
with
75 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -191,6 +191,7 @@ struct openconnect_info { | |
|
||
#ifdef __sun__ | ||
int ip_fd; | ||
int ip6_fd; | ||
#endif | ||
int tun_fd; | ||
int ssl_fd; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters