aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-06-17 17:28:11 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-06-17 17:28:11 +0200
commitfc1e1d66c35807b856591caa470886ea51507a0e (patch)
tree060936009f58f055ad76d793c8592693c53b6556 /src
parentda162a1856a32235e619578aa423c43d37791cc1 (diff)
download0tdns-fc1e1d66c35807b856591caa470886ea51507a0e.tar.gz
0tdns-fc1e1d66c35807b856591caa470886ea51507a0e.zip
change column name (user_side_service.name -> user_side_service.web_address)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/perform_queries.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perform_queries.py b/src/perform_queries.py
index 4e22f1b..029651b 100755
--- a/src/perform_queries.py
+++ b/src/perform_queries.py
@@ -45,7 +45,7 @@ def query_planned_queries(cursor, hour, vpn_id):
for dns_IP, dns_id in dnss:
cursor.execute('''
- SELECT s.id, s.name
+ SELECT s.id, s.web_address
FROM user_side_service AS s JOIN user_side_queries AS q
ON s.id = q.service_id
WHERE q.vpn_id = %s AND q.dns_id = %s