]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2222] corrected the comment according to what the code does
authorNaoki Kambe <kambe@jprs.co.jp>
Mon, 24 Sep 2012 05:03:44 +0000 (14:03 +0900)
committerNaoki Kambe <kambe@jprs.co.jp>
Mon, 24 Sep 2012 05:43:21 +0000 (14:43 +0900)
src/bin/xfrout/xfrout.py.in

index bf1b502eca42f7c4a6176c1e837ecaad7773a17d..90eca66c3bfea77af52a742ecc28ab664c1ecf85 100755 (executable)
@@ -169,9 +169,9 @@ class XfroutSession():
         self.ClientClass = client_class # parameterize this for testing
         self._soa = None # will be set in _xfrout_setup or in tests
         self._jnl_reader = None # will be set to a reader for IXFR
-        # Set counter handlers for counting Xfr requests or
-        # incrementing or decrementing Xfr running. An argument
-        # is required for zone name in counting Xfr requests.
+        # Extract counter handler from the `counters` argument and add
+        # it to the class attribute of the name whose prefix is
+        # '_counter_' '_inc_' or '_dec_'
         for (k, v) in counters.items():
             if k.find('counter_') == 0 or k.find('inc_') == 0 \
                     or k.find('dec_') == 0: