Always send 1 for "-total" item in wfIncrStats() when destination is UDP; it should not depend on the $count parameter
This commit is contained in:
parent
51dacc9fbf
commit
dfa3eca14c
1 changed files with 1 additions and 1 deletions
|
|
@ -2581,7 +2581,7 @@ function wfIncrStats( $key, $count = 1 ) {
|
|||
|
||||
if ( !$socket ) {
|
||||
$socket = socket_create( AF_INET, SOCK_DGRAM, SOL_UDP );
|
||||
$statline = "stats/{$id} - {$count} 1 1 1 1 -total\n";
|
||||
$statline = "stats/{$id} - 1 1 1 1 1 -total\n";
|
||||
socket_sendto(
|
||||
$socket,
|
||||
$statline,
|
||||
|
|
|
|||
Loading…
Reference in a new issue