summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-03-03 02:06:18 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-03-04 23:45:07 +0900
commit04749e40038c77d0d5d8d6f0812f2e1126d70438 (patch)
tree08a5d979479c7e408df2ddfa1c50b03524793e4e
parent48d3358db14205741cc94ce8fc3f36cac3359811 (diff)
downloadsystemd-04749e40038c77d0d5d8d6f0812f2e1126d70438.tar.gz
systemctl: print RestrictAddressFamilies= in 'show' command
-rw-r--r--src/systemctl/systemctl.c3
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;