Make DHCP workaround global

This commit is contained in:
Mygod
2019-02-01 16:55:38 +08:00
parent 6a7a16a0c7
commit a71a3b3bb0
6 changed files with 45 additions and 25 deletions

View File

@@ -69,7 +69,6 @@ class TetheringService : IpNeighbourMonitoringService() {
try {
routings[downstream] = Routing(downstream).apply {
try {
if (app.dhcpWorkaround) dhcpWorkaround()
// system tethering already has working forwarding rules
// so it doesn't make sense to add additional forwarding rules
forward()