mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
dpinger: add details to status, so we can easily reproduce the outcome. for https://github.com/opnsense/core/issues/3759
This commit is contained in:
parent
bb7557d38f
commit
d5bd3a6cb7
@ -380,6 +380,7 @@ function dpinger_status($verbose = false)
|
||||
'stddev' => sprintf('%0.1f ms', empty($r['latency_stddev']) ? 0.0 : round($r['latency_stddev'], 1)),
|
||||
'loss' => sprintf('%0.1f %%', empty($r['loss']) ? 0.0 : round($r['loss'], 1)),
|
||||
'status' => $r['status'],
|
||||
'details' => array_merge($r, $settings),
|
||||
'name' => $gwname,
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user