mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Do not decide whether we are blocking or not based on the gravity count (pre-v5.0 measure) but use the dedicated blockingstatus variable.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ void getStats(const int *sock)
|
||||
|
||||
// Send status
|
||||
if(istelnet[*sock]) {
|
||||
ssend(*sock, "status %s\n", counters->gravity > 0 ? "enabled" : "disabled");
|
||||
ssend(*sock, "status %s\n", blockingstatus ? "enabled" : "disabled");
|
||||
}
|
||||
else
|
||||
pack_uint8(*sock, blockingstatus);
|
||||
|
||||
Reference in New Issue
Block a user