mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-27 09:09:00 +01:00
19 lines
578 B
Go
19 lines
578 B
Go
//go:build !android
|
|
|
|
package server
|
|
|
|
import (
|
|
"github.com/netbirdio/netbird/client/firewall/iptables"
|
|
"github.com/netbirdio/netbird/client/firewall/nftables"
|
|
"github.com/netbirdio/netbird/client/internal/dns"
|
|
"github.com/netbirdio/netbird/client/internal/routemanager/systemops"
|
|
"github.com/netbirdio/netbird/client/internal/statemanager"
|
|
)
|
|
|
|
func registerStates(mgr *statemanager.Manager) {
|
|
mgr.RegisterState(&dns.ShutdownState{})
|
|
mgr.RegisterState(&systemops.ShutdownState{})
|
|
mgr.RegisterState(&nftables.ShutdownState{})
|
|
mgr.RegisterState(&iptables.ShutdownState{})
|
|
}
|