[client] Clean up bsd routes independently of the state file (#4688)

This commit is contained in:
Viktor Liu
2025-10-27 18:54:00 +01:00
committed by GitHub
parent b9ef214ea5
commit eddea14521
9 changed files with 106 additions and 13 deletions

View File

@@ -83,7 +83,7 @@ type SysOps struct {
localSubnetsCacheTime time.Time
}
func NewSysOps(wgInterface wgIface, notifier *notifier.Notifier) *SysOps {
func New(wgInterface wgIface, notifier *notifier.Notifier) *SysOps {
return &SysOps{
wgInterface: wgInterface,
notifier: notifier,