network: show the reason why NFT operation failed

This commit is contained in:
Frantisek Sumsal
2023-12-11 15:28:02 +01:00
parent 4d9a30f14f
commit 13b8fb98b9
+1 -1
View 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));