Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions padd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,19 @@ GetSummaryInformation() {
top_domain_raw=$(GetPADDValue top_domain)

top_client_raw=$(GetPADDValue top_client)

privacy_level=$(GetPADDValue config.privacy_level)

# Substitute 'null' values returned by FTL for privacy level >1
if [ "${privacy_level}" -ge "1" ]; then
top_domain_raw="hidden by privacy level"
top_blocked_raw="hidden by privacy level"
latest_blocked_raw="hidden by privacy level"
fi
if [ "${privacy_level}" -ge "2" ]; then
top_client_raw="hidden by privacy level"
fi

}

GetSystemInformation() {
Expand Down