Skip to content

Commit

Permalink
Merge pull request #173 from pintomax/patch-1
Browse files Browse the repository at this point in the history
Add "clients" to JSON output
  • Loading branch information
yubiuser committed Feb 4, 2022
2 parents 1ce1d33 + 34d2393 commit 7b54a61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions padd.sh
Expand Up @@ -17,7 +17,7 @@ LC_NUMERIC=C
############################################ VARIABLES #############################################

# VERSION
padd_version="v3.6.3"
padd_version="v3.6.4"

# DATE
today=$(date +%Y%m%d)
Expand Down Expand Up @@ -1043,7 +1043,7 @@ json_extract() {

OutputJSON() {
GetSummaryInformation
echo "{\"domains_being_blocked\":${domains_being_blocked_raw},\"dns_queries_today\":${dns_queries_today_raw},\"ads_blocked_today\":${ads_blocked_today_raw},\"ads_percentage_today\":${ads_percentage_today_raw}}"
echo "{\"domains_being_blocked\":${domains_being_blocked_raw},\"dns_queries_today\":${dns_queries_today_raw},\"ads_blocked_today\":${ads_blocked_today_raw},\"ads_percentage_today\":${ads_percentage_today_raw},\"clients\": ${clients}}"
}

StartupRoutine(){
Expand Down

0 comments on commit 7b54a61

Please sign in to comment.