diff options
| author | Tobias Brunner <tobias@strongswan.org> | 2015-06-22 17:15:33 +0200 |
|---|---|---|
| committer | Tobias Brunner <tobias@strongswan.org> | 2015-07-28 13:27:33 +0200 |
| commit | 5da31733de79baf9249b45be1132c1e2f7203f4e (patch) | |
| tree | 55f5b02978b84f86856e60958ef7fc55196ca486 /src/libcharon/plugins/attr_sql | |
| parent | 1082372448d8055b9ab2cd296a011b2f71eee3fe (diff) | |
| download | strongswan-5da31733de79baf9249b45be1132c1e2f7203f4e.tar.bz2 strongswan-5da31733de79baf9249b45be1132c1e2f7203f4e.tar.xz | |
android: Fix kernel-net implementation on Android 4.3 and earlier
Before fwmarks were used protected sockets were bound to the outbound
interface via SO_BINDTODEVICE. This does not always seem to work well
together with our connect()/getsockname() trick if the server is covered
by the traffic selectors. Calling protect() again after disconnecting
the socket seems to help, but if there is no connectivity at all we still
get the virtual IP back (maybe protect() does not bind the socket to any
interface then).
Diffstat (limited to 'src/libcharon/plugins/attr_sql')
0 files changed, 0 insertions, 0 deletions
