diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-03-02 18:06:18 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-03-04 15:45:07 +0100 |
commit | 04749e40038c77d0d5d8d6f0812f2e1126d70438 (patch) | |
tree | 08a5d979479c7e408df2ddfa1c50b03524793e4e /src/systemctl/systemctl.c | |
parent | systemctl: show nothing if no LoadError= (diff) | |
download | systemd-04749e40038c77d0d5d8d6f0812f2e1126d70438.tar.xz systemd-04749e40038c77d0d5d8d6f0812f2e1126d70438.zip |
systemctl: print RestrictAddressFamilies= in 'show' command
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r-- | src/systemctl/systemctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 44451c01d6..fa3f054673 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; |