[client] Add block lan access flag for routers (#3171)

This commit is contained in:
Viktor Liu
2025-01-15 17:39:47 +01:00
committed by GitHub
parent 5a82477d48
commit 78795a4a73
9 changed files with 475 additions and 343 deletions

View File

@ -38,6 +38,7 @@ const (
extraIFaceBlackListFlag = "extra-iface-blacklist"
dnsRouteIntervalFlag = "dns-router-interval"
systemInfoFlag = "system-info"
blockLANAccessFlag = "block-lan-access"
)
var (
@ -73,6 +74,7 @@ var (
anonymizeFlag bool
debugSystemInfoFlag bool
dnsRouteInterval time.Duration
blockLANAccess bool
rootCmd = &cobra.Command{
Use: "netbird",