diff --git a/src/network.c b/src/network.c
index 06cc2c5012554dfae90be5c2c8411574cb3039ba..f7f47c7ac4a6d2086f368463b1a13f11bcd60c1d 100644 (file)
--- a/src/network.c
+++ b/src/network.c
ERROR ("network plugin: Unable to append to the "
"buffer for some weird reason");
}
- else if ((network_config_packet_size - send_buffer_fill) < 15)
+ else if (send_buffer_fill >= 1452 - 15)
{
flush_buffer ();
}