feat(aa): add merge methods to the rule interface.
This commit is contained in:
parent
a91e2ddf56
commit
6791dcde28
14 changed files with 192 additions and 11 deletions
|
|
@ -57,11 +57,6 @@ func (r AddressExpr) Compare(other AddressExpr) int {
|
|||
return compare(r.Port, other.Port)
|
||||
}
|
||||
|
||||
func (r AddressExpr) Equals(other AddressExpr) bool {
|
||||
return r.Source == other.Source && r.Destination == other.Destination &&
|
||||
r.Port == other.Port
|
||||
}
|
||||
|
||||
type Network struct {
|
||||
RuleBase
|
||||
Qualifier
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue