(args ...string)
| 312 | }() |
| 313 | |
| 314 | func runIptables(args ...string) error { |
| 315 | cmd := exec.Command(iptablesPath, args...) |
| 316 | out, err := cmd.CombinedOutput() |
| 317 | if err != nil { |
| 318 | return fmt.Errorf("%s: %w (%s)", cmd.String(), err, string(out)) |
| 319 | } |
| 320 | return nil |
| 321 | } |
no test coverage detected