1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-26 14:04:03 +03:00

systemctl: print RestrictAddressFamilies= in 'show' command

This commit is contained in:
Yu Watanabe 2019-03-03 02:06:18 +09:00
parent 48d3358db1
commit 04749e4003

View File

@ -4728,7 +4728,8 @@ static int print_property(const char *name, const char *expected_value, sd_bus_m
bus_print_property_value(name, expected_value, value, "");
return 1;
} else if (streq(name, "SystemCallFilter")) {
} else if (STR_IN_SET(name, "SystemCallFilter", "RestrictAddressFamilies")) {
_cleanup_strv_free_ char **l = NULL;
int whitelist;