Bugfix: Read state from sysfs.
This commit is contained in:
@@ -172,7 +172,7 @@ def is_hystart_activated():
|
||||
"cat /sys/module/tcp_cubic/parameters/hystart", shell=True
|
||||
)
|
||||
)
|
||||
== "1"
|
||||
== 1
|
||||
)
|
||||
|
||||
|
||||
@@ -183,7 +183,7 @@ def is_tcp_probe_enabled():
|
||||
"cat /sys/kernel/debug/tracing/events/tcp/tcp_probe/enable", shell=True
|
||||
)
|
||||
)
|
||||
== "1"
|
||||
== 1
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user