mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Define OpenVPNPacket class
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// OpenVPNPacket.m
|
||||
// OpenVPN Adapter
|
||||
//
|
||||
// Created by Sergey Abramchuk on 15.01.2018.
|
||||
//
|
||||
|
||||
#import "OpenVPNPacket.h"
|
||||
|
||||
@implementation OpenVPNPacket
|
||||
|
||||
- (instancetype)initWithData:(NSData *)data protocolFamily:(NSNumber *)protocolFamily {
|
||||
if ((self = [super init])) {
|
||||
_data = data;
|
||||
_protocolFamily = protocolFamily;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user