Wtf more debug
This commit is contained in:
@@ -6,7 +6,7 @@ import be.mygod.vpnhotspot.widget.SmartSnackbar
|
||||
import timber.log.Timber
|
||||
import java.net.InterfaceAddress
|
||||
|
||||
class LocalOnlyInterfaceManager(val downstream: String) {
|
||||
class LocalOnlyInterfaceManager(val caller: Any, val downstream: String) {
|
||||
private var routing: Routing? = null
|
||||
|
||||
init {
|
||||
@@ -21,7 +21,7 @@ class LocalOnlyInterfaceManager(val downstream: String) {
|
||||
|
||||
private fun initRouting(owner: InterfaceAddress? = null) {
|
||||
routing = try {
|
||||
Routing(downstream, owner).apply {
|
||||
Routing(caller, downstream, owner).apply {
|
||||
try {
|
||||
ipForward() // local only interfaces need to enable ip_forward
|
||||
forward()
|
||||
|
||||
Reference in New Issue
Block a user