]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: print RestrictAddressFamilies= in 'show' command
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 2 Mar 2019 17:06:18 +0000 (02:06 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 4 Mar 2019 14:45:07 +0000 (23:45 +0900)
src/systemctl/systemctl.c

index 44451c01d6e91c736b20fd6fe730f8d6298035e2..fa3f054673bbd7364fb8cfecb94137976708d91d 100644 (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;