Skip to content

Commit 3bace7e

Browse files
committed
inet -> ip for iptables
Signed-off-by: David Francis <David.Francis@amd.com>
1 parent 84fb396 commit 3bace7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

criu/kerndat.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,20 +1601,20 @@ static int __has_nftables_concat(void *arg)
16011601
if (!nft)
16021602
return 1;
16031603

1604-
if (NFT_RUN_CMD(nft, "create table inet CRIU")) {
1604+
if (NFT_RUN_CMD(nft, "create table ip CRIU")) {
16051605
pr_warn("Can't create nftables table\n");
16061606
*has = false; /* kdat.has_nftables_concat = false */
16071607
ret = 0;
16081608
goto nft_ctx_free_out;
16091609
}
16101610

1611-
if (NFT_RUN_CMD(nft, "add set inet CRIU conn { type ipv4_addr . inet_service ;}"))
1611+
if (NFT_RUN_CMD(nft, "add set ip CRIU conn { type ipv4_addr . inet_service ;}"))
16121612
*has = false; /* kdat.has_nftables_concat = false */
16131613
else
16141614
*has = true; /* kdat.has_nftables_concat = true */
16151615

16161616
/* Clean up */
1617-
NFT_RUN_CMD(nft, "delete table inet CRIU");
1617+
NFT_RUN_CMD(nft, "delete table ip CRIU");
16181618

16191619
ret = 0;
16201620
nft_ctx_free_out:

0 commit comments

Comments
 (0)