fix build

This commit is contained in:
i404788 2019-11-19 22:20:39 +00:00 committed by GitHub
parent 7e07250652
commit cdd60bb298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ bool Init(bool open_adapter)
struct ifaddrs* curaddr = addrs; struct ifaddrs* curaddr = addrs;
while (curaddr) while (curaddr)
{ {
if (strcmp(curaddr->ifa_name, adata->DeviceName) if (strcmp(curaddr->ifa_name, adata->DeviceName))
{ {
curaddr = curaddr->ifa_next; curaddr = curaddr->ifa_next;
continue; continue;