From owner-svn-src-head@freebsd.org Sun Nov 18 11:11:28 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 434C9113579A; Sun, 18 Nov 2018 11:11:28 +0000 (UTC) (envelope-from oshogbo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DDDAC779C4; Sun, 18 Nov 2018 11:11:27 +0000 (UTC) (envelope-from oshogbo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C0113127EB; Sun, 18 Nov 2018 11:11:27 +0000 (UTC) (envelope-from oshogbo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAIBBROg020696; Sun, 18 Nov 2018 11:11:27 GMT (envelope-from oshogbo@FreeBSD.org) Received: (from oshogbo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAIBBRaJ020695; Sun, 18 Nov 2018 11:11:27 GMT (envelope-from oshogbo@FreeBSD.org) Message-Id: <201811181111.wAIBBRaJ020695@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: oshogbo set sender to oshogbo@FreeBSD.org using -f From: Mariusz Zaborski Date: Sun, 18 Nov 2018 11:11:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r340564 - head/lib/libcasper/services/cap_dns X-SVN-Group: head X-SVN-Commit-Author: oshogbo X-SVN-Commit-Paths: head/lib/libcasper/services/cap_dns X-SVN-Commit-Revision: 340564 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: DDDAC779C4 X-Spamd-Result: default: False [0.03 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_SHORT(0.03)[0.033,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2018 11:11:28 -0000 Author: oshogbo Date: Sun Nov 18 11:11:27 2018 New Revision: 340564 URL: https://svnweb.freebsd.org/changeset/base/340564 Log: Update the names in the LIMITS and EXAMPLES sections after r340363. Reported by: markj Modified: head/lib/libcasper/services/cap_dns/cap_dns.3 Modified: head/lib/libcasper/services/cap_dns/cap_dns.3 ============================================================================== --- head/lib/libcasper/services/cap_dns/cap_dns.3 Sun Nov 18 10:57:39 2018 (r340563) +++ head/lib/libcasper/services/cap_dns/cap_dns.3 Sun Nov 18 11:11:27 2018 (r340564) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 12, 2018 +.Dd November 18, 2018 .Dt CAP_DNS 3 .Os .Sh NAME @@ -133,7 +133,7 @@ can have two values: or .Dv NAME2ADDR . The -.Dv ADDR +.Dv ADDR2NAME means that reverse DNS lookups are allowed with .Fn cap_getnameinfo and @@ -142,7 +142,7 @@ functions. In case when .Va type is set to -.Dv NAME +.Dv NAME2ADDR the name resolution is allowed with .Fn cap_getaddrinfo , .Fn cap_gethostbyname , @@ -164,7 +164,7 @@ casper service and uses it to resolve an IP address. cap_channel_t *capcas, *capdns; int familylimit, error; const char *ipstr = "127.0.0.1"; -const char *typelimit = "ADDR"; +const char *typelimit = "ADDR2NAME"; char hname[NI_MAXHOST]; struct addrinfo hints, *res;