Skip to content

Commit

Permalink
Merge pull request systemd#30426 from mrc0mmand/nft-shenanigans
Browse files Browse the repository at this point in the history
network: show the reason why NFT operation failed
  • Loading branch information
yuwata authored Dec 12, 2023
2 parents b7d4359 + 13b8fb9 commit b0e2245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/network/networkd-address.c
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,8 @@ 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",
add? "add" : "delete",
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));
else
Expand Down

0 comments on commit b0e2245

Please sign in to comment.