From 1acaba731b57b15f9c7aec923792227c090fdc99 Mon Sep 17 00:00:00 2001 From: Jussi Peltola Date: Fri, 24 Feb 2017 05:22:43 +0200 Subject: [PATCH] Document return value of chopOff --- pdns/README-dnsdist.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.49.0