Module: monitoring-plugins
Branch: check_icmp_buffer_offerflow
Commit: b77ab28ee2bc4bf70067459247e3ffb7b21e097a
Author: Lorenz Kästle <[email protected]>
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;