Skip to content

Commit

Permalink
Pia ipv6 conf (#55)
Browse files Browse the repository at this point in the history
* Disable IPv6

* update vpnmanager dependency and deprecated params

---------

Co-authored-by: Juan D <juan.docal@kape.com>
  • Loading branch information
kp-iva-nedeleva and kp-juan-docal authored Jun 26, 2024
1 parent 5292e7a commit 050cf2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ object Dependencies {
}

fun DependencyHandler.implementVpnManager() {
add(IMPLEMENTATION, "com.kape.android:vpnmanager:0.3.7-pia")
add(IMPLEMENTATION, "com.kape.android:vpnmanager:0.3.8-pia")
}

fun DependencyHandler.implementDrawablePainter() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,9 @@ class ConnectionUseCase(
additionalOpenVpnParams += "--ncp-disable --pia-signal-settings"
}

// block ipv6
additionalOpenVpnParams += "--block-ipv6"

notificationBuilder.setContentTitle("${server.name} - privateinternetaccess.com")
notificationBuilder.setContentIntent(configureIntent)

Expand Down

0 comments on commit 050cf2e

Please sign in to comment.