Compare commits
2 Commits
fa03df107f
...
4c8ce809eb
Author | SHA1 | Date |
---|---|---|
|
4c8ce809eb | |
|
eb34035740 |
|
@ -156,6 +156,9 @@ func TestMonitor(t *testing.T) {
|
|||
*gotChain.Hooknum != *postrouting.Hooknum {
|
||||
t.Fatal("no want chain", gotChain.Type, gotChain.Name, gotChain.Hooknum)
|
||||
}
|
||||
if gotRule.Table.Family != nat.Family {
|
||||
t.Fatal("rule wrong family", gotRule.Table.Family, gotRule.Table.Name)
|
||||
}
|
||||
if len(gotRule.Exprs) != len(rule.Exprs) {
|
||||
t.Fatal("no want rule")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue