From 97f7fe97abd734832fdc9dbca7867c13b54d350f Mon Sep 17 00:00:00 2001 From: Topi Miettinen Date: Wed, 9 Aug 2023 22:53:29 +0300 Subject: [PATCH] shared/firewall-util: promote failure to init ipv6 NAT to error --- src/shared/firewall-util-nft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/firewall-util-nft.c b/src/shared/firewall-util-nft.c index 8adc7f8faa0..39f9188de29 100644 --- a/src/shared/firewall-util-nft.c +++ b/src/shared/firewall-util-nft.c @@ -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"); } } -- 2.47.3