[Git][NTPsec/ntpsec][master] Fix a bug reported by gemiller.

Eric S. Raymond gitlab at mg.gitlab.com
Mon Nov 7 23:59:09 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
c2e9f133 by Eric S. Raymond at 2016-11-07T18:59:04-05:00
Fix a bug reported by gemiller.

- - - - -


1 changed file:

- ntpq/ntpq


Changes:

=====================================
ntpq/ntpq
=====================================
--- a/ntpq/ntpq
+++ b/ntpq/ntpq
@@ -963,7 +963,7 @@ usage: writevar assocID name=value,[...]
         if not line:
                 self.warn("usage: mreadlist assocIDlow assocIDhigh\n")
                 return
-        idrange = self.__assoc_range_valid()
+        idrange = self.__assoc_range_valid(line)
         if not idrange:
             return
         varlist = line.split()[2:]
@@ -998,7 +998,7 @@ usage: mrl assocIDlow assocIDhigh
         if not line:
                 self.warn("usage: mreadvar assocIDlow assocIDhigh [ name=value[,...] ]\n")
                 return
-        idrange = self.__assoc_range_valid()
+        idrange = self.__assoc_range_valid(line)
         if not idrange:
             return
         varlist = line.split()[2:]



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/c2e9f13374a1e97697d9dd1a70c4ccd9f240d705
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161107/ff17ee43/attachment.html>


More information about the vc mailing list