Show descriptions for type CTLTYPE_NODES.

This commit is contained in:
Matthew N. Dodd 2005-04-13 06:59:07 +00:00
parent 9f98e452c3
commit b2680e2048

View File

@ -189,6 +189,11 @@ parse(char *string)
if (newval == NULL) {
if ((kind & CTLTYPE) == CTLTYPE_NODE) {
if (dflag) {
i = show_var(mib, len);
if (!i && !bflag)
putchar('\n');
}
sysctl_all(mib, len);
} else {
i = show_var(mib, len);