android: Add method to BuilderAdapter to re-establish without DNS-related data
authorTobias Brunner <tobias@strongswan.org>
Wed, 16 Jul 2014 11:54:57 +0000 (13:54 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 22 Jul 2014 09:10:36 +0000 (11:10 +0200)
commit36aab70ab068a8552cf3bc4f80187fc178a2aaf7
tree317ed74400b5cca112a6deca9be39df4fab8524d
parentcc1712a8f4656f0e2417da44f3b27385e71ffa17
android: Add method to BuilderAdapter to re-establish without DNS-related data

Non-DNS data is cached in the BuilderAdapter so the TUN device can be
recreated easily (since the CHILD_SA is gone we couldn't actually gather
that information).
src/frontends/android/jni/libandroidbridge/vpnservice_builder.c
src/frontends/android/jni/libandroidbridge/vpnservice_builder.h
src/frontends/android/src/org/strongswan/android/logic/CharonVpnService.java