From: Yu Watanabe Date: Sat, 2 Mar 2019 17:06:18 +0000 (+0900) Subject: systemctl: print RestrictAddressFamilies= in 'show' command X-Git-Tag: v242-rc1~203^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=04749e40038c77d0d5d8d6f0812f2e1126d70438;p=thirdparty%2Fsystemd.git systemctl: print RestrictAddressFamilies= in 'show' command --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 44451c01d6e..fa3f054673b 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -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;