Enable data count in Demo

It is off by default.

Closes #287
This commit is contained in:
Davide De Rosa 2022-10-28 16:21:18 +02:00
parent e5f4f284fb
commit 36d61c3da5
1 changed files with 5 additions and 0 deletions

View File

@ -23,7 +23,12 @@
// along with TunnelKit. If not, see <http://www.gnu.org/licenses/>.
//
import Foundation
import TunnelKitOpenVPNAppExtension
class PacketTunnelProvider: OpenVPNTunnelProvider {
override func startTunnel(options: [String : NSObject]? = nil) async throws {
dataCountInterval = 3
try await super.startTunnel(options: options)
}
}