]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: show the reason why NFT operation failed 30426/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 11 Dec 2023 13:51:25 +0000 (14:51 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 11 Dec 2023 14:28:02 +0000 (15:28 +0100)
src/network/networkd-address.c

index 49b68b2323c6ba3547fa2d76e1fa39978fd08180..bf471244fae6ed93602f632b4d1f8bb02376936a 100644 (file)
@@ -674,7 +674,7 @@ static void address_modify_nft_set_context(Address *address, bool add, NFTSetCon
                 }
 
                 if (r < 0)
-                        log_warning_errno(r, "Failed to %s NFT set: family %s, table %s, set %s, IP address %s, ignoring",
+                        log_warning_errno(r, "Failed to %s NFT set: family %s, table %s, set %s, IP address %s, ignoring: %m",
                                           add ? "add" : "delete",
                                           nfproto_to_string(nft_set->nfproto), nft_set->table, nft_set->set,
                                           IN_ADDR_PREFIX_TO_STRING(address->family, &address->in_addr, address->prefixlen));