[Git][NTPsec/ntpsec][master] Restore incrementing of some counters lost in the rotocol refactor.
Eric S. Raymond
gitlab at mg.gitlab.com
Thu Aug 17 15:12:05 UTC 2017
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
3a7f1117 by Eric S. Raymond at 2017-08-17T11:11:41-04:00
Restore incrementing of some counters lost in the rotocol refactor.
- - - - -
1 changed file:
- ntpd/ntp_proto.c
Changes:
=====================================
ntpd/ntp_proto.c
=====================================
--- a/ntpd/ntp_proto.c
+++ b/ntpd/ntp_proto.c
@@ -787,6 +787,7 @@ receive(
if(is_control_packet(rbufp)) {
process_control(rbufp, restrict_mask);
+ sys_processed++;
goto done;
}
@@ -850,12 +851,18 @@ receive(
case AM_FXMIT:
case AM_NEWPASS:
handle_fastxmit(rbufp, restrict_mask, pkt, peer, authenticated);
+ sys_processed++;
+ peer->processed++;
break;
case AM_PROCPKT:
handle_procpkt(rbufp, restrict_mask, pkt, peer, authenticated);
+ sys_processed++;
+ peer->processed++;
break;
case AM_MANYCAST:
handle_manycast(rbufp, restrict_mask, pkt, peer, authenticated);
+ sys_processed++;
+ peer->processed++;
break;
default:
/* Everything else is for broadcast modes,
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/3a7f111755e2cd88b650acb3acd93f4e4a5f0c1c
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/3a7f111755e2cd88b650acb3acd93f4e4a5f0c1c
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170817/f573baa3/attachment.html>
More information about the vc
mailing list