mirror of
https://github.com/safing/portmaster
synced 2025-04-18 01:49:09 +00:00
Fix logging in firewall api for allowed-clients
This commit is contained in:
parent
90535c5c86
commit
8e6a99ba14
1 changed files with 0 additions and 3 deletions
|
@ -168,10 +168,7 @@ func authenticateAPIRequest(ctx context.Context, pktInfo *packet.Info) (retry bo
|
|||
|
||||
// check if the client has been allowed by flag
|
||||
if slices.Contains(allowedClients, realPath) {
|
||||
log.Infof("filter: access to portmaster api allowed for configured client: %s", realPath)
|
||||
return false, nil
|
||||
} else if len(allowedClients) > 0 {
|
||||
log.Warningf("filter: process is not in the allowed clients list: %s (list=%s)", realPath, allowedClients)
|
||||
}
|
||||
|
||||
if strings.HasPrefix(realPath, authenticatedPath) {
|
||||
|
|
Loading…
Add table
Reference in a new issue