Commit 58a1aec0 authored by cyberta's avatar cyberta
Browse files

cleanup: undo unnecessary if-clause nesting

parent 6abe74c4
...@@ -539,10 +539,8 @@ public class OpenVPNService extends VpnService implements StateListener, Callbac ...@@ -539,10 +539,8 @@ public class OpenVPNService extends VpnService implements StateListener, Callbac
VpnStatus.logInfo(R.string.last_openvpn_tun_config); VpnStatus.logInfo(R.string.last_openvpn_tun_config);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP && mProfile.mAllowLocalLAN) {
if (mProfile.mAllowLocalLAN) { allowAllAFFamilies(builder);
allowAllAFFamilies(builder);
}
} }
if (mLocalIP == null && mLocalIPv6 == null) { if (mLocalIP == null && mLocalIPv6 == null) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment