Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2018 11:11:27 +0000 (UTC)
From:      Mariusz Zaborski <oshogbo@FreeBSD.org>
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
Message-ID:  <201811181111.wAIBBRaJ020695@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811181111.wAIBBRaJ020695>