From: Jussi Peltola Date: Fri, 24 Feb 2017 03:22:43 +0000 (+0200) Subject: Document return value of chopOff X-Git-Tag: rec-4.1.0-alpha1~252^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1acaba731b57b15f9c7aec923792227c090fdc99;p=pdns Document return value of chopOff --- diff --git a/pdns/README-dnsdist.md b/pdns/README-dnsdist.md index c69840d11..485289764 100644 --- a/pdns/README-dnsdist.md +++ b/pdns/README-dnsdist.md @@ -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