diff options
Diffstat (limited to 'src/MESA_field_stat.cpp')
| -rw-r--r-- | src/MESA_field_stat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MESA_field_stat.cpp b/src/MESA_field_stat.cpp index 383ad50..0228ce1 100644 --- a/src/MESA_field_stat.cpp +++ b/src/MESA_field_stat.cpp @@ -152,7 +152,7 @@ static int send_udp(int sd, unsigned int dest_ip, unsigned short dest_port, cons } void flush_metric(struct FS_space_t* _handle) { - if(_handle->snd_buf_off==0) + if(_handle->snd_buf_off==0 || _handle->server_port==0) { return; } |
