This commit is contained in:
Jeff Becker 2018-12-14 09:23:02 -05:00
parent 7002e4d137
commit 7608aef366
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -286,7 +286,7 @@ namespace llarp
return false;
if(tuntap_up(tunif) == -1)
return false;
if(tuntap_set_ifname(tunif, t->if_name) == -1)
if(tuntap_set_ifname(tunif, t->ifname) == -1)
return false;
fd = tunif->tun_fd;
return fd != -1;