Fix linter errors

This commit is contained in:
Vladimir
2022-11-09 12:17:23 +01:00
parent 075f9151cd
commit a04b76ff58
5 changed files with 20 additions and 11 deletions

View File

@@ -41,11 +41,13 @@ func ResetVerdictOfAllConnections() error {
return windowskext.ClearCache()
}
// UpdateVerdictOfConnection updates the verdict of specific connection in the kernel extension
func UpdateVerdictOfConnection(conn *network.Connection) error {
return windowskext.UpdateVerdict(conn)
}
func GetVersion() (string, error) {
// GetKextVersion returns the version of the kernel extension
func GetKextVersion() (string, error) {
version, err := windowskext.GetVersion()
if err != nil {
return "", err