Drop unnecessary table rewrite in GetRules() after 3e042f7

This commit is contained in:
Raman Shyshniou 2023-03-13 20:54:06 +00:00
parent e016b4e9fa
commit 2794bc85a7
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)
}