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
1420294220
commit
65ad46cd2a
@ -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 New Issue
Block a user