(t *testing.T)
| 49 | } |
| 50 | |
| 51 | func TestChain_AddDropIPRule(t *testing.T) { |
| 52 | var chain = getIPv4Chain(t) |
| 53 | _, err := chain.AddDropIPv4Rule(net.ParseIP("192.168.2.31").To4(), nil) |
| 54 | if err != nil { |
| 55 | t.Fatal(err) |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | func TestChain_AddAcceptSetRule(t *testing.T) { |
| 60 | var chain = getIPv4Chain(t) |
nothing calls this directly
no test coverage detected