[Git][NTPsec/ntpsec][master] Comment updates.

Ian Bruene gitlab at mg.gitlab.com
Thu Jan 4 04:01:44 UTC 2018


Ian Bruene pushed to branch master at NTPsec / ntpsec


Commits:
3bb8650a by Ian Bruene at 2018-01-03T22:01:05-06:00
Comment updates.

- - - - -


1 changed file:

- ntpclients/ntpsnmpd.py


Changes:

=====================================
ntpclients/ntpsnmpd.py
=====================================
--- a/ntpclients/ntpsnmpd.py
+++ b/ntpclients/ntpsnmpd.py
@@ -30,7 +30,7 @@ logfile = "ntpsnmpd.log"
 logfp = sys.stderr
 nofork = True  # don't daemonize while still under construction
 debug = 0
-defaultTimeout = 30  # default timeout, what should this be?
+defaultTimeout = 30
 
 ntpRootOID = (1, 3, 6, 1, 2, 1, 197)  # mib-2 . 197, aka: NTPv4-MIB
 
@@ -956,7 +956,7 @@ class PacketControl:
         self.database = dbase  # class for handling data requests
         self.recievedData = ""  # buffer for data from incomplete packets
         self.recievedPackets = []  # use as FIFO
-        self.timeout = timeout  # default 5s, arbitrary
+        self.timeout = timeout
         self.sessionID = None  # need this for all packets
         # indexed on pdu code
         self.pduHandlers = {ax.PDU_GET: self.handle_GetPDU,



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/3bb8650a2bb0c1bfb19a10de20ba2c67dfdd5a91

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/3bb8650a2bb0c1bfb19a10de20ba2c67dfdd5a91
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/20180104/3620844a/attachment.html>


More information about the vc mailing list