Remove unused vars

pull/1688/head
Jason Rhinelander 3 years ago committed by Jeff Becker
parent e84390748d
commit fd759914b6
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -154,10 +154,6 @@ void del_default_route(void* ctx) {
- (void)startTunnelWithOptions:(NSDictionary<NSString*, NSObject*>*)options
completionHandler:(void (^)(NSError*))completionHandler
{
char ip_buf[16];
char mask_buf[16];
char dns_buf[16];
NSString* default_bootstrap = [NSBundle.mainBundle pathForResource:@"bootstrap" ofType:@"signed"];
NSString* home = NSHomeDirectory();

@ -57,7 +57,6 @@ llarp_apple_init(llarp_apple_config* appleconf)
throw std::runtime_error{"Unexpected non-IPv4 tunnel range configured"};
std::strcpy(appleconf->tunnel_ipv4_ip, addr.c_str());
std::strcpy(appleconf->tunnel_ipv4_netmask, mask.c_str());
// XXX possibly DNS needs to be the .0 instead of the .1 because mac reasons?
std::strcpy(appleconf->tunnel_dns, addr.c_str());
// The default DNS bind setting just isn't something we can use as a non-root network extension

Loading…
Cancel
Save