mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
Fix profile source fetching
This commit is contained in:
parent
5c0bf25f95
commit
42cafe33ed
1 changed files with 2 additions and 2 deletions
|
@ -503,11 +503,11 @@ func (conn *Connection) SetVerdict(newVerdict Verdict, reason, reasonOptionKey s
|
|||
conn.Reason.Msg = reason
|
||||
conn.Reason.Context = reasonCtx
|
||||
|
||||
conn.Reason.Profile = ""
|
||||
conn.Reason.OptionKey = ""
|
||||
conn.Reason.Profile = ""
|
||||
if reasonOptionKey != "" && conn.Process() != nil {
|
||||
conn.Reason.Profile = conn.Process().Profile().GetProfileSource(conn.Reason.OptionKey)
|
||||
conn.Reason.OptionKey = reasonOptionKey
|
||||
conn.Reason.Profile = conn.Process().Profile().GetProfileSource(conn.Reason.OptionKey)
|
||||
}
|
||||
|
||||
return true
|
||||
|
|
Loading…
Add table
Reference in a new issue