mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-24 19:26:39 +00:00
26 lines
660 B
Go
26 lines
660 B
Go
//go:build !linux
|
|
|
|
package firewalld
|
|
|
|
import "context"
|
|
|
|
// SetParentContext is a no-op on non-Linux platforms because firewalld only
|
|
// runs on Linux.
|
|
func SetParentContext(context.Context) {
|
|
// intentionally empty: firewalld is a Linux-only daemon
|
|
}
|
|
|
|
// TrustInterface is a no-op on non-Linux platforms because firewalld only
|
|
// runs on Linux.
|
|
func TrustInterface(string) error {
|
|
// intentionally empty: firewalld is a Linux-only daemon
|
|
return nil
|
|
}
|
|
|
|
// UntrustInterface is a no-op on non-Linux platforms because firewalld only
|
|
// runs on Linux.
|
|
func UntrustInterface(string) error {
|
|
// intentionally empty: firewalld is a Linux-only daemon
|
|
return nil
|
|
}
|