From 413b5c3996a3203f923fd14adf55458204856338 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Wed, 10 Jan 2024 19:43:35 +0100 Subject: [PATCH] Debug on-demand rules --- .../PassepartoutVPNImpl/Extensions/OnDemand+Rules.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PassepartoutLibrary/Sources/PassepartoutVPNImpl/Extensions/OnDemand+Rules.swift b/PassepartoutLibrary/Sources/PassepartoutVPNImpl/Extensions/OnDemand+Rules.swift index ab1dd00d..56189c85 100644 --- a/PassepartoutLibrary/Sources/PassepartoutVPNImpl/Extensions/OnDemand+Rules.swift +++ b/PassepartoutLibrary/Sources/PassepartoutVPNImpl/Extensions/OnDemand+Rules.swift @@ -81,6 +81,11 @@ private extension Profile.OnDemand { // IMPORTANT: append fallback rule last rules.append(globalRule()) + pp_log.debug("On-demand rules:") + rules.forEach { + pp_log.debug("\($0)") + } + return rules } }