From 04749e40038c77d0d5d8d6f0812f2e1126d70438 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 3 Mar 2019 02:06:18 +0900 Subject: [PATCH] systemctl: print RestrictAddressFamilies= in 'show' command --- src/systemctl/systemctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;