mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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
This commit is contained in:
parent
d8d2119e26
commit
b9dadec087
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282298
|
@ -357,7 +357,7 @@ cap_dns_family_limit(cap_channel_t *chan, const int *families,
|
|||
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]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue