Ipv4 hard-coded
This commit is contained in:
parent
e0baad92fe
commit
283705a54b
@ -380,7 +380,7 @@ func (c *Controller) Set(rules []Rule) error {
|
||||
}
|
||||
|
||||
level.Debug(c.logger).Log("msg", "Applying Firewall Rule...", "Rule", ruleString, "Protocol", protocolName)
|
||||
if err := rules[i].Add(c.client(proto)); err != nil {
|
||||
if err := rules[i].Add(c.v4); err != nil {
|
||||
return fmt.Errorf("failed to add rule: %v", err)
|
||||
}
|
||||
level.Debug(c.logger).Log("msg", "Firewall Rule applied.", "Rule", ruleString, "Protocol", protocolName)
|
||||
|
Loading…
Reference in New Issue
Block a user