svn commit: r282298 - head/lib/libcapsicum
Bjoern A. Zeeb
bz at FreeBSD.org
Fri May 1 11:56:22 UTC 2015
Author: bz
Date: Fri May 1 11:56:21 2015
New Revision: 282298
URL: https://svnweb.freebsd.org/changeset/base/282298
Log:
Unreak DNS usage through libcapsicum, which broke, e.g., ping in r282252
with what looks like a copy and paste error.
Sponsored by: DARPA/AFRL
Modified:
head/lib/libcapsicum/libcapsicum_dns.c
Modified: head/lib/libcapsicum/libcapsicum_dns.c
==============================================================================
--- head/lib/libcapsicum/libcapsicum_dns.c Fri May 1 11:46:24 2015 (r282297)
+++ head/lib/libcapsicum/libcapsicum_dns.c Fri May 1 11:56:21 2015 (r282298)
@@ -357,7 +357,7 @@ cap_dns_family_limit(cap_channel_t *chan
else
limit_remove(limits, "family");
for (i = 0; i < nfamilies; i++) {
- n = snprintf(nvlname, sizeof(nvlname), "type%u", i);
+ n = snprintf(nvlname, sizeof(nvlname), "family%u", i);
assert(n > 0 && n < (int)sizeof(nvlname));
nvlist_add_number(limits, nvlname, (uint64_t)families[i]);
}
More information about the svn-src-all
mailing list