From 2729c5a5ee8e93e29b6fe0f857eda704158e19c9 Mon Sep 17 00:00:00 2001 From: Raman Shishniou <004helix@users.noreply.github.com> Date: Thu, 16 Mar 2023 14:38:54 +0300 Subject: [PATCH] Drop unnecessary table rewrite in GetRules() after 3e042f7 (#219) --- rule.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/rule.go b/rule.go index f004e45..0ae9a53 100644 --- a/rule.go +++ b/rule.go @@ -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) }