Skip to content

Commit

Permalink
netstat: include go stats
Browse files Browse the repository at this point in the history
  • Loading branch information
hussainmohd-a committed Oct 5, 2024
1 parent af82edf commit b758190
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/full/java/com/celzero/bravedns/util/UIUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -671,8 +671,9 @@ object UIUtils {
val nic = stat?.nic()?.toString()
val rdnsInfo = stat?.rdnsinfo()?.toString()
val nicInfo = stat?.nicinfo()?.toString()
val go = stat?.go()?.toString()

var stats = nic + nicInfo + fwd + ip + icmp + tcp + udp + rdnsInfo
var stats = nic + nicInfo + fwd + ip + icmp + tcp + udp + rdnsInfo + go
stats = stats.replace("{", "\n")
stats = stats.replace("}", "\n\n")
stats = stats.replace(",", "\n")
Expand Down

0 comments on commit b758190

Please sign in to comment.