]> granicus.if.org Git - pdns/commitdiff
Document return value of chopOff
authorJussi Peltola <plz@plz.fi>
Fri, 24 Feb 2017 03:22:43 +0000 (05:22 +0200)
committerJussi Peltola <plz@plz.fi>
Fri, 24 Feb 2017 03:22:43 +0000 (05:22 +0200)
pdns/README-dnsdist.md

index c69840d11a2994e0bcbe3b7bbf960a67c1acf79c..48528976497580aa4c2a63a1165c0c50e72e477f 100644 (file)
@@ -1460,7 +1460,7 @@ instantiate a server with additional parameters
         * `truncate(bits)`: truncate the address to the specified number of bits
     * DNSName related:
         * `newDNSName(name)`: make a DNSName based on this .-terminated name
-        * member `chopOff()`: remove left-most label
+        * member `chopOff()`: remove left-most label and return true, or false if there are no labels
         * member `countLabels()`: return the number of labels
         * member `isPartOf(dnsname)`: is this dnsname part of that dnsname
         * member `tostring()`: return as a human friendly . terminated string