Skip to content

Commit

Permalink
Fix user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
graeme committed Sep 21, 2023
1 parent fb16b56 commit 496a7d9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import Foundation
import NetworkProtection
import Common
import Core
import Networking

// Initial implementation for initial Network Protection tests. Will be fleshed out with https://app.asana.com/0/1203137811378537/1204630829332227/f
final class NetworkProtectionPacketTunnelProvider: PacketTunnelProvider {
Expand Down Expand Up @@ -159,6 +160,7 @@ final class NetworkProtectionPacketTunnelProvider: PacketTunnelProvider {
debugEvents: Self.networkProtectionDebugEvents(controllerErrorStore: errorStore),
providerEvents: Self.packetTunnelProviderEvents)
startMonitoringMemoryPressureEvents()
APIRequest.Headers.setUserAgent(DefaultUserAgentManager.duckDuckGoUserAgent)
}

private func startMonitoringMemoryPressureEvents() {
Expand Down

0 comments on commit 496a7d9

Please sign in to comment.