Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use I_LINK instead of I_PLINK on Solaris
This should avoid leaving stale tunnel devices around, because they'll automatically go away when the fd gets closed. This is only for Legacy IP though; We are still plumbing for IPv6 in the vpnc-script, which is weird and inconsistent. If only I could work out how to do it in tun.c like we do for IPv4... Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information
David Woodhouse
authored and
David Woodhouse
committed
Dec 9, 2011
1 parent
2355574
commit 5f873b3
Showing
3 changed files
with
2 additions
and
9 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 |
---|---|---|
|
@@ -190,7 +190,6 @@ struct openconnect_info { | |
|
||
#ifdef __sun__ | ||
int ip_fd; | ||
int tun_muxid; | ||
#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
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