[test] Make changes in test file to reflect Chain Policy field changes.
This commit is contained in:
parent
9c2cb3eeea
commit
65889cb04c
|
@ -2327,13 +2327,14 @@ func TestSet4(t *testing.T) {
|
|||
Name: "ipv4table",
|
||||
Family: nftables.TableFamilyIPv4,
|
||||
}
|
||||
defPol := nftables.ChainPolicyAccept
|
||||
ch := &nftables.Chain{
|
||||
Name: "ipv4chain-2",
|
||||
Table: tbl,
|
||||
Type: nftables.ChainTypeNAT,
|
||||
Priority: nftables.ChainPriorityNATDest,
|
||||
Hooknum: nftables.ChainHookPrerouting,
|
||||
Policy: 1, // TODO
|
||||
Policy: &defPol,
|
||||
}
|
||||
set := nftables.Set{
|
||||
Anonymous: false,
|
||||
|
|
Loading…
Reference in New Issue