Drop unnecessary table rewrite in GetRules() after 3e042f7 (#219)

This commit is contained in:
Raman Shishniou 2023-03-16 14:38:54 +03:00 committed by GitHub
parent e016b4e9fa
commit 2729c5a5ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -97,9 +97,6 @@ func (cc *Conn) GetRules(t *Table, c *Chain) ([]*Rule, error) {
if err != nil {
return nil, err
}
// Carry over all Table attributes (including Family), as the Table
// object which ruleFromMsg creates only contains the name.
r.Table = t
rules = append(rules, r)
}