Skip to content

Commit

Permalink
Update pkg/daemon/gateway_linux.go
Browse files Browse the repository at this point in the history
Co-authored-by: 张祖建 <[email protected]>
  • Loading branch information
bobz965 and zhangzujian authored May 15, 2024
1 parent 85518a0 commit b8c08e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/daemon/gateway_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ func (c *Controller) createIptablesRule(ipt *iptables.IPTables, rule util.IPTabl
continue
}
// iptables -t nat -F could cause this case, auto fix it
klog.Warningf("create the should first nat prerouting rule: %q", rule.Rule)
klog.Infof("insert nat prerouting rule: %q", rule.Rule)
if err = ipt.Insert(rule.Table, rule.Chain, 1, rule.Rule...); err != nil {
klog.Errorf(`failed to insert iptables rule %q: %v`, s, err)
return err
Expand Down

0 comments on commit b8c08e8

Please sign in to comment.