mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-27 02:24:30 +01:00
d2d5d4b4b9
Removed ioctl code and remove exception from lint action
27 lines
574 B
Go
27 lines
574 B
Go
//go:build !linux
|
|
// +build !linux
|
|
|
|
package routemanager
|
|
|
|
import "context"
|
|
|
|
type unimplementedFirewall struct{}
|
|
|
|
func (unimplementedFirewall) RestoreOrCreateContainers() error {
|
|
return nil
|
|
}
|
|
func (unimplementedFirewall) InsertRoutingRules(pair routerPair) error {
|
|
return nil
|
|
}
|
|
func (unimplementedFirewall) RemoveRoutingRules(pair routerPair) error {
|
|
return nil
|
|
}
|
|
|
|
func (unimplementedFirewall) CleanRoutingRules() {
|
|
}
|
|
|
|
// NewFirewall returns an unimplemented Firewall manager
|
|
func NewFirewall(parentCtx context.Context) firewallManager {
|
|
return unimplementedFirewall{}
|
|
}
|