[monitoring-plugins] Remove superfluous comment

Lorenz Kästle git at monitoring-plugins.org
Mon Mar 14 11:40:11 CET 2022


 Module: monitoring-plugins
 Branch: check_icmp_buffer_offerflow
 Commit: b77ab28ee2bc4bf70067459247e3ffb7b21e097a
 Author: Lorenz Kästle <lorenz.kaestle at netways.de>
   Date: Mon Mar 14 11:38:11 2022 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=b77ab28

Remove superfluous comment

---

 plugins-root/check_icmp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index c48184a..52e18ca 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -1526,7 +1526,6 @@ icmp_checksum(uint16_t *p, size_t n)
 	unsigned short cksum;
 	long sum = 0;
 
-	/* sizeof(uint16_t) == 2 */
 	while(n >= 2) {
 		sum += *(p++);
 		n -= 2;



More information about the Commits mailing list