sd-netlink: drop 'flags' argument from sd_nfnl_nft_message_new_table()

This commit is contained in:
Yu Watanabe
2021-08-29 18:01:26 +09:00
parent c08ab4a013
commit 07acd0d90b
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -649,7 +649,7 @@ static int fw_nftables_init_family(sd_netlink *nfnl, int family) {
msgcnt++;
assert(msgcnt < NFT_INIT_MSGS);
/* Set F_EXCL so table add fails if the table already exists. */
r = sd_nfnl_nft_message_new_table(nfnl, &batch[msgcnt], family, NFT_SYSTEMD_TABLE_NAME, NLM_F_EXCL | NLM_F_ACK);
r = sd_nfnl_nft_message_new_table(nfnl, &batch[msgcnt], family, NFT_SYSTEMD_TABLE_NAME);
if (r < 0)
goto out_unref;