Skip to content

Commit

Permalink
Added iptables func for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrtbnfgl committed Jun 27, 2022
1 parent 132956a commit 9214f64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions network/iptables_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ type IPTablesRule struct {

func MasqRules(ipn ip.IP4Net, lease *subnet.Lease) []IPTablesRule { return nil }
func ForwardRules(flannelNetwork string) []IPTablesRule { return nil }
func SetupAndEnsureIPTables(rules []IPTablesRule, resyncPeriod int) {}
func DeleteIPTables(rules []IPTablesRule) error { return nil }
func teardownIPTables(ipt IPTables, rules []IPTablesRule) {}
func SetupAndEnsureIP4Tables(rules []IPTablesRule, resyncPeriod int) {}
func SetupAndEnsureIP6Tables(rules []IPTablesRule, resyncPeriod int) {}
func MasqIP6Rules(ipn ip.IP6Net, lease *subnet.Lease) []IPTablesRule { return nil }
func DeleteIP4Tables(rules []IPTablesRule) error { return nil }
func DeleteIP6Tables(rules []IPTablesRule) error { return nil }

0 comments on commit 9214f64

Please sign in to comment.