Allow clients on different tethered interfaces to communicate

Previously, the routing rules were too strict. We should probably also deprecate TrafficRecord.upstream sometime.
This commit is contained in:
Mygod
2019-01-01 12:18:17 +08:00
parent 8e2b27ff8e
commit 68fface4b9
6 changed files with 87 additions and 138 deletions

View File

@@ -27,6 +27,7 @@ data class TrafficRecord(
* For now only stats for IPv4 will be recorded. But I'm going to put the more general class here just in case.
*/
val ip: InetAddress,
@Deprecated("This field is no longer used.")
val upstream: String? = null,
val downstream: String,
var sentPackets: Long = 0,