network: show the reason why NFT operation failed
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user