mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
Merge pull request #30426 from mrc0mmand/nft-shenanigans
network: show the reason why NFT operation failed
This commit is contained in:
commit
b0e2245219
@ -674,8 +674,8 @@ static void address_modify_nft_set_context(Address *address, bool add, NFTSetCon
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (r < 0)
|
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",
|
add ? "add" : "delete",
|
||||||
nfproto_to_string(nft_set->nfproto), nft_set->table, nft_set->set,
|
nfproto_to_string(nft_set->nfproto), nft_set->table, nft_set->set,
|
||||||
IN_ADDR_PREFIX_TO_STRING(address->family, &address->in_addr, address->prefixlen));
|
IN_ADDR_PREFIX_TO_STRING(address->family, &address->in_addr, address->prefixlen));
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user