]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shared/firewall-util: promote failure to init ipv6 NAT to error 24570/head
authorTopi Miettinen <toiwoton@gmail.com>
Wed, 9 Aug 2023 19:53:29 +0000 (22:53 +0300)
committerTopi Miettinen <toiwoton@gmail.com>
Sat, 26 Aug 2023 18:37:51 +0000 (21:37 +0300)
src/shared/firewall-util-nft.c

index 8adc7f8faa0536567875bde908169d08c96971f7..39f9188de29d07c0b9685c290c7665549159d252 100644 (file)
@@ -818,7 +818,7 @@ int fw_nftables_init_full(FirewallContext *ctx, bool init_tables) {
                 if (socket_ipv6_is_supported()) {
                         r = fw_nftables_init_family(nfnl, AF_INET6);
                         if (r < 0)
-                                log_debug_errno(r, "Failed to init ipv6 NAT: %m");
+                                return log_error_errno(r, "Failed to init ipv6 NAT: %m");
                 }
         }