]> granicus.if.org Git - pdns/commitdiff
dnsdist: Fix NetmaskGroup NGM -> NMG typo in the doc
authorRemi Gacogne <rgacogne@users.noreply.github.com>
Mon, 25 Sep 2017 09:02:12 +0000 (11:02 +0200)
committerGitHub <noreply@github.com>
Mon, 25 Sep 2017 09:02:12 +0000 (11:02 +0200)
pdns/dnsdistdist/docs/reference/netmaskgroup.rst

index bdcc038b31a236784ab08c765bacd781725025cd..2453276a1acbcc30f1b4b6f9c5f6b33efea7a0ff 100644 (file)
@@ -5,14 +5,14 @@ NetmaskGroup
 
    Represents a group of netmasks that can be used to match :class:`ComboAddress`\ es against.
 
-.. function:: newNGM() -> NetmaskGroup
+.. function:: newNMG() -> NetmaskGroup
 
   Returns a NetmaskGroup
 
 .. classmethod:: NetmaskGroup:addMask(mask)
                  NetmaskGroup:addMask(masks)
 
-  Add one or more masks to the NGM.
+  Add one or more masks to the NMG.
 
   :param string mask: Add this mask, prefix with `!` to exclude this mask from matching.
   :param table masks: Adds the keys of the table to the :class:`NetmaskGroup`. It should be a table whose keys are :class:`ComboAddress` objects and values are integers, as returned by `exceed*` functions.