Use API to create windows firewall rule

This commit is contained in:
世界
2023-06-07 21:01:29 +08:00
parent 659933c742
commit 564c0e97b9
6 changed files with 18 additions and 4 deletions

View File

@@ -169,3 +169,7 @@ func (w *platformInterfaceWrapper) Interfaces() ([]platform.NetworkInterface, er
}
return interfaces, nil
}
func (w *platformInterfaceWrapper) UnderNetworkExtension() bool {
return w.iif.UnderNetworkExtension()
}