mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-03 21:10:50 +02:00
20 lines
414 B
Go
20 lines
414 B
Go
//go:build !linux || android
|
|
|
|
package debug
|
|
|
|
// collectFirewallRules returns nothing on non-linux systems
|
|
func (g *BundleGenerator) addFirewallRules() error {
|
|
return nil
|
|
}
|
|
|
|
func (g *BundleGenerator) trySystemdLogFallback() error {
|
|
// Systemd is only available on Linux
|
|
// TODO: Add BSD support
|
|
return nil
|
|
}
|
|
|
|
func (g *BundleGenerator) addIPRules() error {
|
|
// IP rules are only supported on Linux
|
|
return nil
|
|
}
|