Refine code style

This commit is contained in:
Mygod
2019-04-14 13:23:21 +08:00
parent 44a0f675ed
commit 243d103ca7
4 changed files with 12 additions and 18 deletions

View File

@@ -36,7 +36,7 @@ class TetheringService : IpNeighbourMonitoringService() {
RoutingManager(caller, downstream, TetherType.ofInterface(downstream).isWifi) {
override fun Routing.configure() {
forward()
masquerade(RoutingManager.masqueradeMode)
masquerade(masqueradeMode)
if (app.pref.getBoolean("service.disableIpv6", true)) disableIpv6()
commit()
}