aboutsummaryrefslogtreecommitdiffstats
path: root/Sources/WireGuardIntentsExtension/IntentHandler.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sources/WireGuardIntentsExtension/IntentHandler.swift')
-rw-r--r--Sources/WireGuardIntentsExtension/IntentHandler.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sources/WireGuardIntentsExtension/IntentHandler.swift b/Sources/WireGuardIntentsExtension/IntentHandler.swift
index 4567b49..62eb5e2 100644
--- a/Sources/WireGuardIntentsExtension/IntentHandler.swift
+++ b/Sources/WireGuardIntentsExtension/IntentHandler.swift
@@ -11,7 +11,7 @@ class IntentHandler: INExtension {
}
override func handler(for intent: INIntent) -> Any {
- guard intent is GetPeersIntent else {
+ guard intent is GetPeersIntent || intent is UpdateConfigurationIntent else {
fatalError("Unhandled intent type: \(intent)")
}