Explorar el Código

Update network/iptables_windows.go

    Fixes compilation issues with windows
Nathan Gieseker hace 6 años
padre
commit
cb68142e6a
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      network/iptables_windows.go

+ 7 - 0
network/iptables_windows.go

@@ -42,3 +42,10 @@ func ForwardRules(flannelNetwork string) []IPTablesRule {
 func SetupAndEnsureIPTables(rules []IPTablesRule, resyncPeriod int) {
 
 }
+
+func DeleteIPTables(rules []IPTablesRule) error {
+	return nil
+}
+
+func teardownIPTables(ipt IPTables, rules []IPTablesRule) {
+}